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 id field in history #541

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 Sep 25, 2023 7:39am
github-actions[bot] commented 11 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 368.3±9.44µs | 369.5±9.76µs | +0.33% | | codec/jwst decode var_uint (32 bit) | 471.4±11.62µs | 466.2±12.89µs | -1.10% | | codec/jwst decode var_uint (64 bit) | 324.6±8.19µs | 326.0±8.23µs | +0.43% | | codec/jwst encode var_int (32 bit) | 485.8±14.02µs | 481.8±11.60µs | -0.82% | | codec/jwst encode var_uint (32 bit) | 358.7±10.13µs | 362.7±10.22µs | +1.12% | | codec/jwst encode var_uint (64 bit) | 361.2±11.50µs | 360.7±10.68µs | -0.14% | | codec/lib0 decode var_int (64 bit) | 337.2±7.99µs | 340.4±7.28µs | +0.95% | | codec/lib0 decode var_uint (32 bit) | 471.6±13.61µs | 471.5±12.25µs | -0.02% | | codec/lib0 decode var_uint (64 bit) | 411.1±9.92µs | 400.8±11.11µs | **-2.51%** | | codec/lib0 encode var_int (64 bit) | 597.7±18.33µs | 606.2±21.52µs | +1.42% | | codec/lib0 encode var_uint (32 bit) | 413.9±11.31µs | 431.7±12.05µs | **+4.30%** | | codec/lib0 encode var_uint (64 bit) | 454.1±10.95µs | 446.7±14.98µs | -1.63% | | ops/array/jwst/insert | 309.3±7.91µs | 322.3±4.10µs | **+4.20%** | | ops/array/jwst/insert range | 457.5±9.57µs | 460.1±9.90µs | +0.57% | | ops/array/jwst/remove | 191.3±5.64µs | 194.1±4.62µs | +1.46% | | ops/array/yrs/insert | 104.4±2.95µs | 108.8±2.05µs | **+4.21%** | | ops/array/yrs/insert range | 131.9±2.84µs | 135.5±2.88µs | **+2.73%** | | ops/array/yrs/remove | 114.1±3.11µs | 114.2±2.02µs | +0.09% | | ops/text/jwst/insert | 170.8±3.35µs | 172.5±2.35µs | +1.00% | | ops/text/jwst/remove | 3.7±0.09µs | 3.8±0.07µs | **+2.70%** | | ops/text/yrs/insert | 49.4±1.20µs | 50.2±1.08µs | +1.62% | | ops/text/yrs/remove | 2.8±0.08µs | 2.9±0.06µs | **+3.57%** | | update/parse with jwst/basic.bin | 76.6±2.05µs | 78.7±2.03µs | **+2.74%** | | update/parse with jwst/database.bin | 62.0±1.43µs | 63.2±1.18µs | **+1.94%** | | update/parse with jwst/large.bin | 4.0±0.09ms | 4.1±0.08ms | **+2.50%** | | update/parse with jwst/with-subdoc.bin | 7.3±0.19µs | 7.5±0.19µs | **+2.74%** | | update/parse with yrs/basic.bin | 50.1±1.11µs | 52.0±0.97µs | **+3.79%** | | update/parse with yrs/database.bin | 40.4±0.93µs | 41.0±0.72µs | **+1.49%** | | update/parse with yrs/large.bin | 2.5±0.06ms | 2.6±0.04ms | **+4.00%** | | update/parse with yrs/with-subdoc.bin | 7.3±0.16µs | 7.2±0.14µs | **-1.37%** |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 530.0±6.68µs | 528.4±6.80µs | -0.30% | | codec/jwst decode var_uint (32 bit) | 434.2±7.92µs | 433.7±7.08µs | -0.12% | | codec/jwst decode var_uint (64 bit) | 485.8±5.69µs | 483.3±5.62µs | -0.51% | | codec/jwst encode var_int (32 bit) | 453.3±5.72µs | 440.7±6.01µs | **-2.78%** | | codec/jwst encode var_uint (32 bit) | 314.7±4.56µs | 311.3±4.17µs | -1.08% | | codec/jwst encode var_uint (64 bit) | 314.8±4.52µs | 312.0±5.80µs | -0.89% | | codec/lib0 decode var_int (64 bit) | 434.1±7.04µs | 430.4±5.48µs | -0.85% | | codec/lib0 decode var_uint (32 bit) | 243.6±3.20µs | 242.9±2.85µs | -0.29% | | codec/lib0 decode var_uint (64 bit) | 242.7±2.76µs | 242.7±2.98µs | -0.00% | | codec/lib0 encode var_int (64 bit) | 582.2±7.26µs | 583.3±7.66µs | +0.19% | | codec/lib0 encode var_uint (32 bit) | 397.1±9.25µs | 396.1±5.28µs | -0.25% | | codec/lib0 encode var_uint (64 bit) | 415.8±5.09µs | 415.2±5.08µs | -0.14% | | ops/array/jwst/insert | 300.4±2.80µs | 302.5±3.92µs | **+0.70%** | | ops/array/jwst/insert range | 422.1±8.21µs | 421.7±4.54µs | -0.09% | | ops/array/jwst/remove | 172.6±1.89µs | 173.4±1.30µs | +0.46% | | ops/array/yrs/insert | 108.2±1.14µs | 108.6±1.23µs | +0.37% | | ops/array/yrs/insert range | 148.9±2.32µs | 149.4±1.52µs | +0.34% | | ops/array/yrs/remove | 162.5±1.79µs | 160.4±1.55µs | **-1.29%** | | ops/text/jwst/insert | 177.9±1.74µs | 175.9±2.10µs | **-1.12%** | | ops/text/jwst/remove | 4.1±0.04µs | 4.8±0.05µs | **+17.07%** | | ops/text/yrs/insert | 46.7±0.64µs | 47.4±0.47µs | **+1.50%** | | ops/text/yrs/remove | 3.7±0.05µs | 4.5±0.06µs | **+21.62%** | | update/parse with jwst/basic.bin | 97.5±1.14µs | 102.1±1.17µs | **+4.72%** | | update/parse with jwst/database.bin | 75.3±0.57µs | 80.3±0.70µs | **+6.64%** | | update/parse with jwst/large.bin | 4.6±0.12ms | 4.7±0.15ms | **+2.17%** | | update/parse with jwst/with-subdoc.bin | 15.7±0.15µs | 15.7±0.28µs | -0.00% | | update/parse with yrs/basic.bin | 65.3±0.58µs | 65.2±0.53µs | **-0.15%** | | update/parse with yrs/database.bin | 52.8±1.07µs | 51.6±1.06µs | **-2.27%** | | update/parse with yrs/large.bin | 3.1±0.15ms | 3.1±0.07ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 11.5±0.23µs | 11.4±0.13µs | **-0.87%** |