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

fix: workspace export logic #552

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 Comments Updated (UTC)
octobase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2023 1:28pm
github-actions[bot] commented 10 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 515.9±0.30µs | 515.9±0.43µs | -0.00% | | codec/jwst decode var_uint (32 bit) | 462.6±0.77µs | 462.5±0.25µs | **-0.02%** | | codec/jwst decode var_uint (64 bit) | 347.6±2.17µs | 347.1±0.16µs | **-0.14%** | | codec/jwst encode var_int (32 bit) | 593.0±0.38µs | 593.2±1.00µs | **+0.03%** | | codec/jwst encode var_uint (32 bit) | 565.0±23.83µs | 580.1±8.37µs | **+2.67%** | | codec/jwst encode var_uint (64 bit) | 534.6±5.87µs | 581.5±9.32µs | **+8.77%** | | codec/lib0 decode var_int (64 bit) | 472.4±0.36µs | 472.3±0.27µs | **-0.02%** | | codec/lib0 decode var_uint (32 bit) | 315.5±0.65µs | 315.0±0.36µs | **-0.16%** | | codec/lib0 decode var_uint (64 bit) | 465.6±10.91µs | 462.4±0.31µs | **-0.69%** | | codec/lib0 encode var_int (64 bit) | 541.1±9.05µs | 553.4±8.08µs | **+2.27%** | | codec/lib0 encode var_uint (32 bit) | 481.6±0.61µs | 479.5±1.08µs | **-0.44%** | | codec/lib0 encode var_uint (64 bit) | 481.1±2.82µs | 479.3±9.09µs | -0.37% | | ops/array/jwst/insert | 315.7±0.44µs | 316.1±1.14µs | **+0.13%** | | ops/array/jwst/insert range | 451.3±1.09µs | 450.6±0.29µs | **-0.16%** | | ops/array/jwst/remove | 199.7±5.48µs | 199.5±0.10µs | **-0.10%** | | ops/array/yrs/insert | 100.8±0.37µs | 100.5±0.94µs | **-0.30%** | | ops/array/yrs/insert range | 133.5±0.61µs | 134.7±0.20µs | **+0.90%** | | ops/array/yrs/remove | 122.6±0.11µs | 126.4±0.14µs | **+3.10%** | | ops/map/jwst/get | 836.3±4.30ns | 554.8±5.50ns | **-33.66%** | | ops/map/jwst/insert | 7.7±0.04µs | 7.7±0.01µs | -0.00% | | ops/map/jwst/remove | 9.7±0.02µs | 9.6±0.01µs | **-1.03%** | | ops/map/yrs/get | 425.9±3.47ns | 427.8±4.06ns | +0.45% | | ops/map/yrs/insert | 5.9±0.03µs | 5.9±0.01µs | -0.00% | | ops/map/yrs/remove | 7.9±0.19µs | 7.9±0.02µs | -0.00% | | ops/text/jwst/insert | 160.3±0.22µs | 161.4±0.90µs | **+0.69%** | | ops/text/jwst/remove | 3.8±0.01µs | 3.9±0.06µs | **+2.63%** | | ops/text/yrs/insert | 47.0±0.08µs | 46.9±0.06µs | **-0.21%** | | ops/text/yrs/remove | 2.7±0.01µs | 2.7±0.01µs | -0.00% | | update/parse with jwst/basic.bin | 69.0±0.13µs | 68.6±0.03µs | **-0.58%** | | update/parse with jwst/database.bin | 55.7±0.06µs | 55.6±0.08µs | **-0.18%** | | update/parse with jwst/large.bin | 3.5±0.01ms | 3.5±0.03ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 6.9±0.02µs | 6.9±0.01µs | -0.00% | | update/parse with yrs/basic.bin | 52.4±0.18µs | 52.6±0.53µs | **+0.38%** | | update/parse with yrs/database.bin | 42.8±0.04µs | 43.0±0.05µs | **+0.47%** | | update/parse with yrs/large.bin | 2.7±0.02ms | 2.7±0.01ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 5.6±0.01µs | 5.6±0.01µs | -0.00% |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 468.3±19.09µs | 457.9±27.38µs | -2.22% | | codec/jwst decode var_uint (32 bit) | 400.1±14.93µs | 403.5±22.05µs | +0.85% | | codec/jwst decode var_uint (64 bit) | 398.9±19.25µs | 392.8±20.18µs | -1.53% | | codec/jwst encode var_int (32 bit) | 491.7±24.13µs | 495.1±23.49µs | +0.69% | | codec/jwst encode var_uint (32 bit) | 343.9±11.88µs | 343.1±15.63µs | -0.23% | | codec/jwst encode var_uint (64 bit) | 338.8±10.83µs | 334.6±15.89µs | -1.24% | | codec/lib0 decode var_int (64 bit) | 332.7±11.83µs | 343.5±11.67µs | +3.25% | | codec/lib0 decode var_uint (32 bit) | 294.1±14.24µs | 293.5±12.61µs | -0.20% | | codec/lib0 decode var_uint (64 bit) | 294.4±10.06µs | 288.1±11.11µs | -2.14% | | codec/lib0 encode var_int (64 bit) | 480.8±18.06µs | 480.3±22.91µs | -0.10% | | codec/lib0 encode var_uint (32 bit) | 345.7±14.79µs | 351.6±14.23µs | +1.71% | | codec/lib0 encode var_uint (64 bit) | 343.8±17.01µs | 342.9±19.06µs | -0.26% | | ops/array/jwst/insert | 338.1±11.85µs | 339.1±13.31µs | +0.30% | | ops/array/jwst/insert range | 458.6±14.36µs | 466.7±16.19µs | +1.77% | | ops/array/jwst/remove | 196.0±5.85µs | 198.3±6.62µs | +1.17% | | ops/array/yrs/insert | 129.5±6.06µs | 128.6±4.83µs | -0.69% | | ops/array/yrs/insert range | 174.2±7.10µs | 172.3±5.24µs | -1.09% | | ops/array/yrs/remove | 186.3±6.43µs | 188.1±7.01µs | +0.97% | | ops/map/jwst/get | 566.2±23.49ns | 578.9±27.55ns | +2.24% | | ops/map/jwst/insert | 10.7±0.35µs | 11.7±0.45µs | **+9.35%** | | ops/map/jwst/remove | 11.3±0.46µs | 12.0±0.55µs | **+6.19%** | | ops/map/yrs/get | 419.4±17.58ns | 418.2±16.46ns | -0.29% | | ops/map/yrs/insert | 10.6±0.39µs | 9.6±0.29µs | **-9.43%** | | ops/map/yrs/remove | 12.5±0.49µs | 12.5±0.49µs | -0.00% | | ops/text/jwst/insert | 188.6±7.92µs | 195.0±8.09µs | +3.39% | | ops/text/jwst/remove | 4.7±0.22µs | 4.7±0.23µs | -0.00% | | ops/text/yrs/insert | 56.0±1.94µs | 58.7±2.65µs | **+4.82%** | | ops/text/yrs/remove | 4.5±0.17µs | 4.5±0.23µs | -0.00% | | update/parse with jwst/basic.bin | 99.0±3.28µs | 101.1±4.67µs | +2.12% | | update/parse with jwst/database.bin | 75.7±2.26µs | 77.5±3.15µs | +2.38% | | update/parse with jwst/large.bin | 4.9±0.30ms | 4.9±0.23ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 13.6±0.66µs | 14.0±0.47µs | **+2.94%** | | update/parse with yrs/basic.bin | 80.9±3.70µs | 88.4±3.85µs | **+9.27%** | | update/parse with yrs/database.bin | 61.7±1.83µs | 58.4±2.06µs | **-5.35%** | | update/parse with yrs/large.bin | 4.1±0.16ms | 4.1±0.15ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 14.0±0.56µs | 12.3±0.41µs | **-12.14%** |