toeverything / OctoBase

🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.
https://octobase.dev
GNU Affero General Public License v3.0
1.32k stars 83 forks source link

chore: yocto logic sync #549

Closed darkskygit closed 11 months ago

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
octobase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2023 4:19am
github-actions[bot] commented 11 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 328.6±0.13µs | 328.7±0.09µs | **+0.03%** | | codec/jwst decode var_uint (32 bit) | 386.2±6.60µs | 385.1±0.19µs | **-0.28%** | | codec/jwst decode var_uint (64 bit) | 358.3±0.60µs | 358.2±0.53µs | **-0.03%** | | codec/jwst encode var_int (32 bit) | 462.0±12.91µs | 462.2±9.18µs | +0.04% | | codec/jwst encode var_uint (32 bit) | 308.9±3.57µs | 311.3±3.30µs | +0.78% | | codec/jwst encode var_uint (64 bit) | 308.5±3.66µs | 309.6±3.56µs | +0.36% | | codec/lib0 decode var_int (64 bit) | 426.7±0.14µs | 426.7±0.15µs | -0.00% | | codec/lib0 decode var_uint (32 bit) | 385.1±1.51µs | 385.0±0.16µs | **-0.03%** | | codec/lib0 decode var_uint (64 bit) | 386.4±11.79µs | 385.0±0.12µs | **-0.36%** | | codec/lib0 encode var_int (64 bit) | 561.2±0.88µs | 561.1±0.26µs | **-0.02%** | | codec/lib0 encode var_uint (32 bit) | 406.2±0.73µs | 399.9±4.09µs | **-1.55%** | | codec/lib0 encode var_uint (64 bit) | 397.4±2.62µs | 406.2±3.63µs | **+2.21%** | | ops/array/jwst/insert | 259.9±1.88µs | 259.6±0.36µs | **-0.12%** | | ops/array/jwst/insert range | 373.9±0.39µs | 371.1±0.60µs | **-0.75%** | | ops/array/jwst/remove | 163.5±0.33µs | 163.5±0.22µs | -0.00% | | ops/array/yrs/insert | 90.4±0.86µs | 91.3±0.20µs | **+1.00%** | | ops/array/yrs/insert range | 117.4±0.44µs | 117.0±0.26µs | **-0.34%** | | ops/array/yrs/remove | 105.3±0.19µs | 107.6±0.47µs | **+2.18%** | | ops/map/jwst/get | 461.9±1.36ns | 462.3±2.98ns | +0.09% | | ops/map/jwst/insert | 6.5±0.02µs | 6.5±0.00µs | -0.00% | | ops/map/jwst/remove | 8.2±0.03µs | 8.2±0.01µs | -0.00% | | ops/map/yrs/get | 353.6±4.03ns | 353.5±3.71ns | -0.03% | | ops/map/yrs/insert | 5.8±0.01µs | 5.7±0.00µs | **-1.72%** | | ops/map/yrs/remove | 7.8±0.01µs | 7.8±0.00µs | -0.00% | | ops/text/jwst/insert | 133.9±1.02µs | 133.6±0.33µs | **-0.22%** | | ops/text/jwst/remove | 3.2±0.01µs | 3.3±0.00µs | **+3.12%** | | ops/text/yrs/insert | 40.9±0.08µs | 41.0±0.12µs | **+0.24%** | | ops/text/yrs/remove | 2.4±0.02µs | 2.4±0.01µs | -0.00% | | update/parse with jwst/basic.bin | 57.5±0.14µs | 56.8±0.19µs | **-1.22%** | | update/parse with jwst/database.bin | 38.8±0.25µs | 38.9±0.44µs | **+0.26%** | | update/parse with jwst/large.bin | 2.9±0.01ms | 2.9±0.00ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 8.2±0.10µs | 8.0±0.39µs | **-2.44%** | | update/parse with yrs/basic.bin | 44.2±0.05µs | 43.8±0.03µs | **-0.90%** | | update/parse with yrs/database.bin | 30.4±0.03µs | 30.5±0.17µs | **+0.33%** | | update/parse with yrs/large.bin | 2.2±0.01ms | 2.2±0.00ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 6.6±0.02µs | 6.5±0.02µs | **-1.52%** |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 467.7±16.64µs | 471.4±24.99µs | +0.79% | | codec/jwst decode var_uint (32 bit) | 589.6±17.55µs | 591.0±28.24µs | +0.24% | | codec/jwst decode var_uint (64 bit) | 414.7±14.74µs | 412.9±19.58µs | -0.43% | | codec/jwst encode var_int (32 bit) | 539.9±18.14µs | 538.2±29.12µs | -0.31% | | codec/jwst encode var_uint (32 bit) | 449.3±27.63µs | 454.8±30.89µs | +1.22% | | codec/jwst encode var_uint (64 bit) | 468.3±17.27µs | 474.9±28.23µs | +1.41% | | codec/lib0 decode var_int (64 bit) | 354.2±14.93µs | 356.9±14.22µs | +0.76% | | codec/lib0 decode var_uint (32 bit) | 470.2±11.57µs | 466.9±10.56µs | -0.70% | | codec/lib0 decode var_uint (64 bit) | 434.7±16.56µs | 437.6±21.74µs | +0.67% | | codec/lib0 encode var_int (64 bit) | 733.1±40.57µs | 721.5±28.91µs | -1.58% | | codec/lib0 encode var_uint (32 bit) | 464.3±16.77µs | 486.1±22.69µs | **+4.70%** | | codec/lib0 encode var_uint (64 bit) | 520.5±26.40µs | 508.2±29.57µs | -2.36% | | ops/array/jwst/insert | 353.7±14.95µs | 351.4±12.16µs | -0.65% | | ops/array/jwst/insert range | 485.4±12.62µs | 504.1±20.32µs | **+3.85%** | | ops/array/jwst/remove | 205.2±6.36µs | 206.7±6.42µs | +0.73% | | ops/array/yrs/insert | 136.2±9.13µs | 133.1±4.56µs | -2.28% | | ops/array/yrs/insert range | 183.8±6.33µs | 182.1±5.35µs | -0.92% | | ops/array/yrs/remove | 192.4±4.45µs | 194.0±9.72µs | +0.83% | | ops/map/jwst/get | 613.1±26.78ns | 581.4±20.29ns | **-5.17%** | | ops/map/jwst/insert | 11.2±0.32µs | 12.2±0.54µs | **+8.93%** | | ops/map/jwst/remove | 11.3±0.33µs | 13.3±0.51µs | **+17.70%** | | ops/map/yrs/get | 433.7±17.04ns | 436.5±15.37ns | +0.65% | | ops/map/yrs/insert | 9.9±0.30µs | 9.8±0.24µs | **-1.01%** | | ops/map/yrs/remove | 12.8±0.67µs | 13.0±0.54µs | **+1.56%** | | ops/text/jwst/insert | 192.7±7.56µs | 191.6±8.15µs | -0.57% | | ops/text/jwst/remove | 4.5±0.15µs | 5.4±0.17µs | **+20.00%** | | ops/text/yrs/insert | 59.1±0.90µs | 58.1±1.91µs | **-1.69%** | | ops/text/yrs/remove | 4.6±0.16µs | 5.7±0.24µs | **+23.91%** | | update/parse with jwst/basic.bin | 101.5±3.79µs | 99.1±3.67µs | -2.36% | | update/parse with jwst/database.bin | 76.7±2.35µs | 80.1±2.65µs | **+4.43%** | | update/parse with jwst/large.bin | 4.8±0.25ms | 4.8±0.20ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 13.7±0.35µs | 14.0±0.65µs | **+2.19%** | | update/parse with yrs/basic.bin | 82.0±3.15µs | 84.5±2.45µs | **+3.05%** | | update/parse with yrs/database.bin | 62.2±1.99µs | 64.0±3.05µs | **+2.89%** | | update/parse with yrs/large.bin | 4.0±0.25ms | 4.0±0.18ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 14.6±0.64µs | 12.7±0.47µs | **-13.01%** |