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: add workspace export & update history field #554

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 ✅ Ready (Inspect) Visit Preview Oct 20, 2023 1:55pm
github-actions[bot] commented 10 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 512.3±5.05µs | 515.7±1.07µs | **+0.66%** | | codec/jwst decode var_uint (32 bit) | 458.1±4.42µs | 461.2±2.20µs | **+0.68%** | | codec/jwst decode var_uint (64 bit) | 347.2±1.51µs | 345.3±2.59µs | **-0.55%** | | codec/jwst encode var_int (32 bit) | 589.2±4.65µs | 592.9±2.16µs | **+0.63%** | | codec/jwst encode var_uint (32 bit) | 570.4±11.98µs | 542.6±20.89µs | **-4.87%** | | codec/jwst encode var_uint (64 bit) | 573.9±12.67µs | 577.0±10.69µs | +0.54% | | codec/lib0 decode var_int (64 bit) | 472.4±3.29µs | 471.8±1.53µs | -0.13% | | codec/lib0 decode var_uint (32 bit) | 315.7±0.56µs | 315.7±0.80µs | -0.00% | | codec/lib0 decode var_uint (64 bit) | 462.5±0.52µs | 461.0±2.75µs | **-0.32%** | | codec/lib0 encode var_int (64 bit) | 531.4±5.60µs | 524.4±4.11µs | **-1.32%** | | codec/lib0 encode var_uint (32 bit) | 483.5±2.16µs | 486.0±4.55µs | **+0.52%** | | codec/lib0 encode var_uint (64 bit) | 481.9±3.37µs | 476.4±4.30µs | **-1.14%** | | ops/array/jwst/insert | 315.9±0.35µs | 315.5±0.87µs | **-0.13%** | | ops/array/jwst/insert range | 452.9±5.07µs | 453.1±2.05µs | +0.04% | | ops/array/jwst/remove | 198.4±1.11µs | 199.1±0.36µs | **+0.35%** | | ops/array/yrs/insert | 100.5±0.46µs | 101.9±1.43µs | **+1.39%** | | ops/array/yrs/insert range | 133.7±0.99µs | 133.9±0.63µs | **+0.15%** | | ops/array/yrs/remove | 124.2±0.40µs | 121.3±0.43µs | **-2.33%** | | ops/map/jwst/get | 553.9±5.83ns | 551.2±6.22ns | -0.49% | | ops/map/jwst/insert | 7.7±0.04µs | 7.7±0.04µs | -0.00% | | ops/map/jwst/remove | 9.7±0.02µs | 9.7±0.05µs | -0.00% | | ops/map/yrs/get | 425.0±2.70ns | 426.3±3.19ns | +0.31% | | ops/map/yrs/insert | 5.9±0.05µs | 5.9±0.06µs | -0.00% | | ops/map/yrs/remove | 7.9±0.03µs | 7.9±0.07µs | -0.00% | | ops/text/jwst/insert | 160.5±0.76µs | 159.8±0.59µs | **-0.44%** | | ops/text/jwst/remove | 3.9±0.01µs | 3.8±0.02µs | **-2.56%** | | ops/text/yrs/insert | 46.9±0.26µs | 46.8±0.23µs | **-0.21%** | | ops/text/yrs/remove | 2.6±0.01µs | 2.6±0.02µs | -0.00% | | update/parse with jwst/basic.bin | 68.2±0.36µs | 68.3±0.09µs | **+0.15%** | | update/parse with jwst/database.bin | 55.2±0.23µs | 54.9±0.32µs | **-0.54%** | | update/parse with jwst/large.bin | 3.5±0.02ms | 3.5±0.02ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 6.9±0.03µs | 6.8±0.05µs | **-1.45%** | | update/parse with yrs/basic.bin | 52.2±0.14µs | 52.9±0.17µs | **+1.34%** | | update/parse with yrs/database.bin | 42.7±0.22µs | 43.0±0.13µs | **+0.70%** | | update/parse with yrs/large.bin | 2.7±0.01ms | 2.7±0.01ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 5.5±0.03µs | 5.6±0.02µs | **+1.82%** |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 382.9±5.58µs | 379.9±4.52µs | -0.78% | | codec/jwst decode var_uint (32 bit) | 485.2±7.05µs | 483.4±5.17µs | -0.37% | | codec/jwst decode var_uint (64 bit) | 339.3±4.61µs | 337.8±3.98µs | -0.44% | | codec/jwst encode var_int (32 bit) | 446.2±9.74µs | 442.4±8.28µs | -0.85% | | codec/jwst encode var_uint (32 bit) | 363.0±13.81µs | 365.5±14.59µs | +0.69% | | codec/jwst encode var_uint (64 bit) | 374.3±15.62µs | 359.4±14.58µs | **-3.98%** | | codec/lib0 decode var_int (64 bit) | 291.1±3.91µs | 289.8±3.26µs | -0.45% | | codec/lib0 decode var_uint (32 bit) | 390.7±6.75µs | 388.9±5.05µs | -0.46% | | codec/lib0 decode var_uint (64 bit) | 355.3±4.21µs | 353.7±3.47µs | -0.45% | | codec/lib0 encode var_int (64 bit) | 597.7±8.32µs | 594.5±7.58µs | -0.54% | | codec/lib0 encode var_uint (32 bit) | 395.0±5.34µs | 395.4±6.78µs | +0.10% | | codec/lib0 encode var_uint (64 bit) | 415.6±5.99µs | 414.8±5.36µs | -0.19% | | ops/array/jwst/insert | 287.6±3.25µs | 286.0±2.98µs | -0.56% | | ops/array/jwst/insert range | 399.8±5.06µs | 404.7±3.90µs | **+1.23%** | | ops/array/jwst/remove | 168.3±1.74µs | 167.7±1.41µs | -0.36% | | ops/array/yrs/insert | 111.0±1.23µs | 109.7±1.35µs | **-1.17%** | | ops/array/yrs/insert range | 150.2±2.99µs | 149.9±1.32µs | -0.20% | | ops/array/yrs/remove | 159.0±2.33µs | 159.9±2.95µs | +0.57% | | ops/map/jwst/get | 486.4±20.94ns | 475.8±7.41ns | **-2.18%** | | ops/map/jwst/insert | 10.2±0.15µs | 10.0±0.09µs | **-1.96%** | | ops/map/jwst/remove | 9.3±0.11µs | 10.1±0.10µs | **+8.60%** | | ops/map/yrs/get | 358.1±8.68ns | 355.8±11.19ns | -0.64% | | ops/map/yrs/insert | 9.9±0.09µs | 8.1±0.08µs | **-18.18%** | | ops/map/yrs/remove | 10.5±0.19µs | 10.6±0.18µs | **+0.95%** | | ops/text/jwst/insert | 158.6±1.77µs | 157.3±1.48µs | **-0.82%** | | ops/text/jwst/remove | 3.8±0.03µs | 3.8±0.03µs | -0.00% | | ops/text/yrs/insert | 50.7±0.41µs | 49.5±0.54µs | **-2.37%** | | ops/text/yrs/remove | 3.8±0.04µs | 3.9±0.09µs | **+2.63%** | | update/parse with jwst/basic.bin | 82.7±0.77µs | 86.5±0.92µs | **+4.59%** | | update/parse with jwst/database.bin | 63.9±0.70µs | 67.3±1.35µs | **+5.32%** | | update/parse with jwst/large.bin | 3.9±0.12ms | 3.9±0.14ms | -0.00% | | update/parse with jwst/with-subdoc.bin | 11.5±0.11µs | 12.1±0.20µs | **+5.22%** | | update/parse with yrs/basic.bin | 69.2±0.88µs | 70.5±0.73µs | **+1.88%** | | update/parse with yrs/database.bin | 52.8±0.75µs | 50.7±0.99µs | **-3.98%** | | update/parse with yrs/large.bin | 3.3±0.15ms | 3.2±0.11ms | **-3.03%** | | update/parse with yrs/with-subdoc.bin | 12.2±0.31µs | 12.0±0.17µs | **-1.64%** |