y-crdt / y-octo

CRDT implementation which is compatible with https://github.com/yjs/yjs
https://octobase.pro/
Other
187 stars 5 forks source link

feat: add workflow support #2

Closed darkskygit closed 1 year ago

github-advanced-security[bot] commented 1 year ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

github-actions[bot] commented 1 year ago

Benchmark Results

Linux

group                                     master                                 pr
-----                                     ------                                 --
codec/jwst decode var_int (32 bit)        1.00   368.6±29.14µs        ? ?/sec    1.01   373.6±18.63µs        ? ?/sec
codec/jwst decode var_int (64 bit)        1.00   368.7±19.04µs        ? ?/sec    1.00   370.3±15.74µs        ? ?/sec
codec/jwst decode var_uint (32 bit)       1.00   321.0±15.57µs        ? ?/sec    1.02   326.4±25.04µs        ? ?/sec
codec/jwst decode var_uint (64 bit)       1.01   325.3±14.99µs        ? ?/sec    1.00   322.6±19.39µs        ? ?/sec
codec/jwst encode var_int (32 bit)        1.02   517.6±24.70µs        ? ?/sec    1.00   508.1±26.66µs        ? ?/sec
codec/jwst encode var_int (64 bit)        1.00   520.3±25.89µs        ? ?/sec    1.02   531.5±26.21µs        ? ?/sec
codec/jwst encode var_uint (32 bit)       1.00   320.1±15.09µs        ? ?/sec    1.02   325.8±18.62µs        ? ?/sec
codec/jwst encode var_uint (64 bit)       1.00   319.5±17.22µs        ? ?/sec    1.03   328.8±16.26µs        ? ?/sec
codec/lib0 decode var_int (64 bit)        1.00   328.3±14.71µs        ? ?/sec    1.04   340.4±20.13µs        ? ?/sec
codec/lib0 decode var_uint (32 bit)       1.00   288.8±13.66µs        ? ?/sec    1.01   291.5±20.21µs        ? ?/sec
codec/lib0 decode var_uint (64 bit)       1.05   290.8±19.71µs        ? ?/sec    1.00    277.8±9.72µs        ? ?/sec
codec/lib0 encode var_int (64 bit)        1.04   495.5±26.89µs        ? ?/sec    1.00   474.5±19.36µs        ? ?/sec
codec/lib0 encode var_uint (32 bit)       1.03   331.4±30.16µs        ? ?/sec    1.00   322.2±16.70µs        ? ?/sec
codec/lib0 encode var_uint (64 bit)       1.01   320.9±27.25µs        ? ?/sec    1.00   317.9±17.10µs        ? ?/sec
ops/array/jwst/insert                     1.00   408.7±14.22µs        ? ?/sec    1.01   414.5±17.30µs        ? ?/sec
ops/array/jwst/insert range               1.01   566.9±26.45µs        ? ?/sec    1.00   563.2±21.08µs        ? ?/sec
ops/array/jwst/remove                     1.00   280.3±11.61µs        ? ?/sec    1.02   284.5±11.01µs        ? ?/sec
ops/array/yrs/insert                      1.01     98.1±5.10µs        ? ?/sec    1.00     97.1±4.45µs        ? ?/sec
ops/array/yrs/insert range                1.00    127.8±6.78µs        ? ?/sec    1.00    127.4±6.28µs        ? ?/sec
ops/array/yrs/remove                      1.00    116.8±5.63µs        ? ?/sec    1.01    117.8±6.71µs        ? ?/sec
ops/text/jwst/insert                      1.00    173.3±7.79µs        ? ?/sec    1.01    175.2±9.27µs        ? ?/sec
ops/text/jwst/remove                      1.00      3.5±0.20µs        ? ?/sec    1.00      3.6±0.18µs        ? ?/sec
ops/text/yrs/insert                       1.00     48.1±2.05µs        ? ?/sec    1.02     49.1±3.79µs        ? ?/sec
ops/text/yrs/remove                       1.02      2.7±0.15µs        ? ?/sec    1.00      2.6±0.10µs        ? ?/sec
update/parse with jwst/basic.bin          1.06     86.2±5.78µs    63.4 MB/sec    1.00     81.1±3.18µs    67.3 MB/sec
update/parse with jwst/database.bin       1.00     65.8±3.15µs    50.3 MB/sec    1.02     66.8±3.45µs    49.6 MB/sec
update/parse with jwst/large.bin          1.00      5.8±0.22ms    39.5 MB/sec    1.01      5.8±0.23ms    39.2 MB/sec
update/parse with jwst/with-subdoc.bin    1.00      7.6±0.40µs    91.8 MB/sec    1.00      7.6±0.31µs    92.2 MB/sec
update/parse with yrs/basic.bin           1.00     52.4±2.10µs   104.3 MB/sec    1.00     52.4±1.99µs   104.3 MB/sec
update/parse with yrs/database.bin        1.01     42.4±1.93µs    78.2 MB/sec    1.00     41.9±1.70µs    79.2 MB/sec
update/parse with yrs/large.bin           1.01      3.7±0.23ms    62.3 MB/sec    1.00      3.6±0.16ms    63.1 MB/sec
update/parse with yrs/with-subdoc.bin     1.00      6.4±0.33µs   109.9 MB/sec    1.03      6.6±0.29µs   106.6 MB/sec

Windows

group                                     master                                 pr
-----                                     ------                                 --
codec/jwst decode var_int (32 bit)        1.00    377.1±5.44µs        ? ?/sec    1.00    375.8±4.33µs        ? ?/sec
codec/jwst decode var_int (64 bit)        1.00    469.1±5.82µs        ? ?/sec    1.00    470.1±8.01µs        ? ?/sec
codec/jwst decode var_uint (32 bit)       1.00    395.3±5.02µs        ? ?/sec    1.00    395.1±5.55µs        ? ?/sec
codec/jwst decode var_uint (64 bit)       1.00    323.9±4.84µs        ? ?/sec    1.00    322.6±3.78µs        ? ?/sec
codec/jwst encode var_int (32 bit)        1.00    485.1±7.73µs        ? ?/sec    1.00    483.8±9.02µs        ? ?/sec
codec/jwst encode var_int (64 bit)        1.00    481.1±6.72µs        ? ?/sec    1.00    480.7±7.82µs        ? ?/sec
codec/jwst encode var_uint (32 bit)       1.01    324.8±7.61µs        ? ?/sec    1.00    321.7±4.93µs        ? ?/sec
codec/jwst encode var_uint (64 bit)       1.00    323.5±5.62µs        ? ?/sec    1.00    322.4±5.27µs        ? ?/sec
codec/lib0 decode var_int (64 bit)        1.01    302.5±3.87µs        ? ?/sec    1.00    300.9±3.22µs        ? ?/sec
codec/lib0 decode var_uint (32 bit)       1.00    355.1±4.58µs        ? ?/sec    1.00    354.7±4.16µs        ? ?/sec
codec/lib0 decode var_uint (64 bit)       1.00    389.4±5.57µs        ? ?/sec    1.00    388.1±4.16µs        ? ?/sec
codec/lib0 encode var_int (64 bit)        1.01   610.2±17.99µs        ? ?/sec    1.00    601.3±8.48µs        ? ?/sec
codec/lib0 encode var_uint (32 bit)       1.01    398.2±5.75µs        ? ?/sec    1.00    395.3±6.99µs        ? ?/sec
codec/lib0 encode var_uint (64 bit)       1.00    388.6±6.00µs        ? ?/sec    1.00    386.9±4.96µs        ? ?/sec
ops/array/jwst/insert                     1.00    419.4±5.12µs        ? ?/sec    1.00    418.0±3.87µs        ? ?/sec
ops/array/jwst/insert range               1.00    552.0±5.08µs        ? ?/sec    1.00    550.8±6.43µs        ? ?/sec
ops/array/jwst/remove                     1.00    269.1±1.97µs        ? ?/sec    1.00    269.7±2.05µs        ? ?/sec
ops/array/yrs/insert                      1.00    105.4±0.93µs        ? ?/sec    1.02    107.7±1.23µs        ? ?/sec
ops/array/yrs/insert range                1.00    148.6±1.95µs        ? ?/sec    1.01    149.7±1.45µs        ? ?/sec
ops/array/yrs/remove                      1.03    162.2±1.43µs        ? ?/sec    1.00    157.9±1.49µs        ? ?/sec
ops/text/jwst/insert                      1.01    186.4±4.45µs        ? ?/sec    1.00    184.8±1.71µs        ? ?/sec
ops/text/jwst/remove                      1.22      4.7±0.03µs        ? ?/sec    1.00      3.9±0.04µs        ? ?/sec
ops/text/yrs/insert                       1.00     46.7±0.56µs        ? ?/sec    1.00     46.8±0.37µs        ? ?/sec
ops/text/yrs/remove                       1.02      3.9±0.03µs        ? ?/sec    1.00      3.9±0.13µs        ? ?/sec
update/parse with jwst/basic.bin          1.00     98.5±0.95µs    55.4 MB/sec    1.00     99.0±1.39µs    55.2 MB/sec
update/parse with jwst/database.bin       1.00     75.7±0.60µs    43.7 MB/sec    1.00     76.1±1.01µs    43.6 MB/sec
update/parse with jwst/large.bin          1.00      4.5±0.11ms    51.2 MB/sec    1.02      4.6±0.10ms    50.0 MB/sec
update/parse with jwst/with-subdoc.bin    1.07     14.9±0.16µs    46.9 MB/sec    1.00     14.0±0.12µs    50.0 MB/sec
update/parse with yrs/basic.bin           1.00     69.2±0.62µs    79.0 MB/sec    1.04     71.7±0.57µs    76.1 MB/sec
update/parse with yrs/database.bin        1.00     52.0±0.43µs    63.8 MB/sec    1.06     55.1±0.48µs    60.1 MB/sec
update/parse with yrs/large.bin           1.00      3.1±0.10ms    74.2 MB/sec    1.00      3.1±0.08ms    74.4 MB/sec
update/parse with yrs/with-subdoc.bin     1.00     11.7±0.20µs    60.0 MB/sec    1.06     12.4±0.15µs    56.6 MB/sec