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

feat: return newest data for imported workspace #553

Closed darkskygit closed 10 months ago

vercel[bot] commented 10 months ago

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

Name Status Preview Updated (UTC)
octobase 🔄 Building (Inspect) Visit Preview Oct 20, 2023 1:42pm
github-actions[bot] commented 10 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 429.7±0.18µs | 429.7±0.24µs | -0.00% | | codec/jwst decode var_uint (32 bit) | 385.3±0.15µs | 385.3±0.20µs | -0.00% | | codec/jwst decode var_uint (64 bit) | 289.2±0.36µs | 289.2±0.14µs | -0.00% | | codec/jwst encode var_int (32 bit) | 495.6±5.95µs | 494.0±0.26µs | **-0.32%** | | codec/jwst encode var_uint (32 bit) | 452.4±8.08µs | 442.7±10.16µs | **-2.14%** | | codec/jwst encode var_uint (64 bit) | 472.7±15.20µs | 456.4±14.48µs | **-3.45%** | | codec/lib0 decode var_int (64 bit) | 393.5±0.27µs | 393.5±0.33µs | -0.00% | | codec/lib0 decode var_uint (32 bit) | 263.9±0.72µs | 263.5±0.76µs | **-0.15%** | | codec/lib0 decode var_uint (64 bit) | 385.4±1.87µs | 385.2±0.19µs | **-0.05%** | | codec/lib0 encode var_int (64 bit) | 458.8±6.92µs | 451.7±5.19µs | **-1.55%** | | codec/lib0 encode var_uint (32 bit) | 398.1±0.43µs | 400.5±0.52µs | **+0.60%** | | codec/lib0 encode var_uint (64 bit) | 403.7±2.04µs | 399.3±2.54µs | **-1.09%** | | ops/array/jwst/insert | 263.5±0.53µs | 262.8±0.34µs | **-0.27%** | | ops/array/jwst/insert range | 378.5±0.90µs | 376.2±0.97µs | **-0.61%** | | ops/array/jwst/remove | 166.8±0.36µs | 165.6±0.20µs | **-0.72%** | | ops/array/yrs/insert | 83.4±0.25µs | 83.3±1.16µs | **-0.12%** | | ops/array/yrs/insert range | 111.8±0.14µs | 111.4±0.13µs | **-0.36%** | | ops/array/yrs/remove | 100.9±0.32µs | 106.9±0.27µs | **+5.95%** | | ops/map/jwst/get | 459.8±1.01ns | 467.4±2.11ns | **+1.65%** | | ops/map/jwst/insert | 6.4±0.01µs | 6.6±0.01µs | **+3.12%** | | ops/map/jwst/remove | 8.1±0.01µs | 8.3±0.01µs | **+2.47%** | | ops/map/yrs/get | 355.2±0.89ns | 361.0±3.31ns | **+1.63%** | | ops/map/yrs/insert | 5.0±0.01µs | 4.9±0.00µs | **-2.00%** | | ops/map/yrs/remove | 6.5±0.02µs | 6.6±0.01µs | **+1.54%** | | ops/text/jwst/insert | 134.5±0.26µs | 133.8±0.80µs | **-0.52%** | | ops/text/jwst/remove | 3.2±0.02µs | 3.2±0.01µs | -0.00% | | ops/text/yrs/insert | 39.3±0.28µs | 39.0±0.16µs | **-0.76%** | | ops/text/yrs/remove | 2.2±0.01µs | 2.2±0.01µs | -0.00% | | update/parse with jwst/basic.bin | 57.0±0.35µs | 57.2±0.10µs | **+0.35%** | | update/parse with jwst/database.bin | 45.9±0.07µs | 46.0±0.06µs | **+0.22%** | | update/parse with jwst/large.bin | 2.9±0.01ms | 4.8±0.05ms | **+65.52%** | | update/parse with jwst/with-subdoc.bin | 5.8±0.01µs | 5.8±0.01µs | -0.00% | | update/parse with yrs/basic.bin | 43.3±0.06µs | 44.1±0.09µs | **+1.85%** | | update/parse with yrs/database.bin | 35.2±0.11µs | 36.0±0.07µs | **+2.27%** | | update/parse with yrs/large.bin | 2.2±0.01ms | 2.2±0.00ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 4.6±0.01µs | 4.6±0.01µs | -0.00% |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 447.5±23.59µs | 444.7±24.87µs | -0.63% | | codec/jwst decode var_uint (32 bit) | 406.5±22.74µs | 399.2±19.30µs | -1.80% | | codec/jwst decode var_uint (64 bit) | 401.7±22.81µs | 396.3±19.00µs | -1.34% | | codec/jwst encode var_int (32 bit) | 482.2±22.92µs | 481.7±24.67µs | -0.10% | | codec/jwst encode var_uint (32 bit) | 410.2±23.31µs | 408.1±25.70µs | -0.51% | | codec/jwst encode var_uint (64 bit) | 388.8±23.71µs | 398.7±23.86µs | +2.55% | | codec/lib0 decode var_int (64 bit) | 330.9±15.65µs | 335.3±15.61µs | +1.33% | | codec/lib0 decode var_uint (32 bit) | 287.5±14.39µs | 289.2±15.02µs | +0.59% | | codec/lib0 decode var_uint (64 bit) | 295.1±15.07µs | 284.7±15.01µs | -3.52% | | codec/lib0 encode var_int (64 bit) | 505.9±20.91µs | 518.2±27.31µs | +2.43% | | codec/lib0 encode var_uint (32 bit) | 343.4±16.30µs | 347.3±18.61µs | +1.14% | | codec/lib0 encode var_uint (64 bit) | 516.1±30.79µs | 509.8±27.61µs | -1.22% | | ops/array/jwst/insert | 330.8±12.08µs | 326.4±12.05µs | -1.33% | | ops/array/jwst/insert range | 457.8±20.06µs | 456.9±19.01µs | -0.20% | | ops/array/jwst/remove | 194.5±10.64µs | 196.3±11.24µs | +0.93% | | ops/array/yrs/insert | 124.0±4.85µs | 123.0±6.92µs | -0.81% | | ops/array/yrs/insert range | 170.4±7.87µs | 169.2±7.24µs | -0.70% | | ops/array/yrs/remove | 190.0±8.45µs | 182.4±7.80µs | **-4.00%** | | ops/map/jwst/get | 563.2±22.87ns | 588.3±32.51ns | **+4.46%** | | ops/map/jwst/insert | 10.6±0.58µs | 11.5±0.50µs | **+8.49%** | | ops/map/jwst/remove | 10.7±0.44µs | 12.3±0.77µs | **+14.95%** | | ops/map/yrs/get | 419.7±22.39ns | 422.4±17.88ns | +0.64% | | ops/map/yrs/insert | 11.3±0.58µs | 9.4±0.39µs | **-16.81%** | | ops/map/yrs/remove | 12.2±0.61µs | 12.2±0.44µs | -0.00% | | ops/text/jwst/insert | 191.5±11.33µs | 198.0±7.73µs | +3.39% | | ops/text/jwst/remove | 4.8±0.33µs | 4.7±0.21µs | **-2.08%** | | ops/text/yrs/insert | 59.3±2.87µs | 61.2±2.51µs | +3.20% | | ops/text/yrs/remove | 4.3±0.16µs | 4.6±0.20µs | **+6.98%** | | update/parse with jwst/basic.bin | 97.3±4.55µs | 96.7±5.53µs | -0.62% | | update/parse with jwst/database.bin | 73.6±3.02µs | 76.3±3.20µs | +3.67% | | update/parse with jwst/large.bin | 4.5±0.16ms | 4.7±0.41ms | **+4.44%** | | update/parse with jwst/with-subdoc.bin | 13.4±0.51µs | 13.2±0.57µs | **-1.49%** | | update/parse with yrs/basic.bin | 84.4±4.03µs | 80.3±3.35µs | **-4.86%** | | update/parse with yrs/database.bin | 58.3±2.54µs | 62.1±3.19µs | **+6.52%** | | update/parse with yrs/large.bin | 3.8±0.19ms | 3.8±0.18ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 13.2±0.50µs | 13.2±0.95µs | -0.00% |