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: disable gc #547

Closed darkskygit closed 11 months ago

darkskygit commented 11 months ago

temporarily disable gc due to multiple client logic

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

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 326.8±3.58µs | 328.4±3.99µs | +0.49% | | codec/jwst decode var_uint (32 bit) | 305.2±2.92µs | 305.0±3.54µs | -0.07% | | codec/jwst decode var_uint (64 bit) | 285.5±2.08µs | 284.7±3.39µs | -0.28% | | codec/jwst encode var_int (32 bit) | 425.5±8.16µs | 422.2±8.44µs | -0.78% | | codec/jwst encode var_uint (32 bit) | 380.3±0.96µs | 380.9±1.08µs | **+0.16%** | | codec/jwst encode var_uint (64 bit) | 380.1±1.08µs | 381.0±3.83µs | +0.24% | | codec/lib0 decode var_int (64 bit) | 276.0±1.17µs | 276.2±1.25µs | +0.07% | | codec/lib0 decode var_uint (32 bit) | 234.5±1.50µs | 234.8±2.46µs | +0.13% | | codec/lib0 decode var_uint (64 bit) | 271.3±7.07µs | 275.3±6.23µs | +1.47% | | codec/lib0 encode var_int (64 bit) | 413.2±19.16µs | 409.9±5.34µs | -0.80% | | codec/lib0 encode var_uint (32 bit) | 304.4±5.46µs | 303.5±5.54µs | -0.30% | | codec/lib0 encode var_uint (64 bit) | 379.0±3.56µs | 377.1±1.74µs | **-0.50%** | | ops/array/jwst/insert | 265.8±0.17µs | 263.8±0.34µs | **-0.75%** | | ops/array/jwst/insert range | 382.4±1.36µs | 379.7±0.68µs | **-0.71%** | | ops/array/jwst/remove | 170.7±1.20µs | 171.9±0.18µs | **+0.70%** | | ops/array/yrs/insert | 79.4±0.86µs | 78.8±0.39µs | **-0.76%** | | ops/array/yrs/insert range | 109.4±0.64µs | 108.5±0.25µs | **-0.82%** | | ops/array/yrs/remove | 97.1±0.60µs | 97.7±0.11µs | **+0.62%** | | ops/map/jwst/get | 459.9±9.96ns | 459.1±8.91ns | -0.17% | | ops/map/jwst/insert | 7.0±0.02µs | 7.0±0.02µs | -0.00% | | ops/map/jwst/remove | 8.9±0.05µs | 8.8±0.01µs | **-1.12%** | | ops/map/yrs/get | 357.8±6.00ns | 358.9±1.65ns | **+0.31%** | | ops/map/yrs/insert | 6.3±0.34µs | 6.3±0.04µs | -0.00% | | ops/map/yrs/remove | 8.5±0.07µs | 8.5±0.03µs | -0.00% | | ops/text/jwst/insert | 128.3±0.53µs | 129.0±0.29µs | **+0.55%** | | ops/text/jwst/remove | 3.5±0.01µs | 3.5±0.03µs | -0.00% | | ops/text/yrs/insert | 38.3±1.02µs | 39.1±0.10µs | **+2.09%** | | ops/text/yrs/remove | 2.4±0.01µs | 2.4±0.00µs | -0.00% | | update/parse with jwst/basic.bin | 56.4±0.03µs | 55.6±0.47µs | **-1.42%** | | update/parse with jwst/database.bin | 36.0±0.19µs | 35.9±0.34µs | **-0.28%** | | update/parse with jwst/large.bin | 2.9±0.00ms | 2.8±0.01ms | **-3.45%** | | update/parse with jwst/with-subdoc.bin | 8.0±0.06µs | 7.8±0.04µs | **-2.50%** | | update/parse with yrs/basic.bin | 41.6±0.05µs | 41.0±0.11µs | **-1.44%** | | update/parse with yrs/database.bin | 26.0±0.04µs | 26.0±0.15µs | -0.00% | | update/parse with yrs/large.bin | 2.1±0.01ms | 2.1±0.00ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 5.1±0.03µs | 6.2±0.05µs | **+21.57%** |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 478.7±14.18µs | 475.1±16.80µs | -0.75% | | codec/jwst decode var_uint (32 bit) | 422.2±17.30µs | 415.0±18.31µs | -1.71% | | codec/jwst decode var_uint (64 bit) | 423.6±16.65µs | 426.8±19.55µs | +0.76% | | codec/jwst encode var_int (32 bit) | 516.7±26.28µs | 511.2±19.81µs | -1.06% | | codec/jwst encode var_uint (32 bit) | 362.0±18.05µs | 343.6±12.38µs | **-5.08%** | | codec/jwst encode var_uint (64 bit) | 346.6±13.38µs | 360.9±13.65µs | **+4.13%** | | codec/lib0 decode var_int (64 bit) | 365.5±16.50µs | 352.6±12.68µs | **-3.53%** | | codec/lib0 decode var_uint (32 bit) | 305.6±13.02µs | 305.8±10.11µs | +0.07% | | codec/lib0 decode var_uint (64 bit) | 302.0±15.80µs | 304.9±9.75µs | +0.96% | | codec/lib0 encode var_int (64 bit) | 515.0±14.74µs | 512.8±19.59µs | -0.43% | | codec/lib0 encode var_uint (32 bit) | 370.7±12.65µs | 350.1±15.26µs | **-5.56%** | | codec/lib0 encode var_uint (64 bit) | 355.7±16.03µs | 373.5±15.09µs | **+5.00%** | | ops/array/jwst/insert | 354.3±14.38µs | 358.9±30.50µs | +1.30% | | ops/array/jwst/insert range | 494.6±18.35µs | 501.3±20.81µs | +1.35% | | ops/array/jwst/remove | 207.2±5.89µs | 204.9±5.88µs | -1.11% | | ops/array/yrs/insert | 133.6±5.53µs | 131.5±4.53µs | -1.57% | | ops/array/yrs/insert range | 177.8±7.67µs | 182.5±6.57µs | +2.64% | | ops/array/yrs/remove | 190.8±5.59µs | 208.2±6.47µs | **+9.12%** | | ops/map/jwst/get | 609.1±18.31ns | 607.1±20.00ns | -0.33% | | ops/map/jwst/insert | 11.3±0.44µs | 12.4±0.64µs | **+9.73%** | | ops/map/jwst/remove | 11.7±0.33µs | 12.7±0.41µs | **+8.55%** | | ops/map/yrs/get | 438.1±16.98ns | 437.5±19.05ns | -0.14% | | ops/map/yrs/insert | 10.0±0.32µs | 10.0±0.35µs | -0.00% | | ops/map/yrs/remove | 12.9±0.53µs | 13.0±0.42µs | **+0.78%** | | ops/text/jwst/insert | 205.4±8.43µs | 197.3±5.89µs | **-3.94%** | | ops/text/jwst/remove | 5.0±0.21µs | 4.9±0.15µs | **-2.00%** | | ops/text/yrs/insert | 60.0±1.34µs | 58.4±1.44µs | **-2.67%** | | ops/text/yrs/remove | 4.6±0.19µs | 4.5±0.16µs | **-2.17%** | | update/parse with jwst/basic.bin | 104.2±4.55µs | 102.8±6.32µs | -1.34% | | update/parse with jwst/database.bin | 79.8±2.40µs | 79.9±3.29µs | +0.13% | | update/parse with jwst/large.bin | 5.1±0.33ms | 5.3±0.28ms | **+3.92%** | | update/parse with jwst/with-subdoc.bin | 15.0±0.50µs | 14.3±0.44µs | **-4.67%** | | update/parse with yrs/basic.bin | 83.7±2.93µs | 83.4±4.07µs | -0.36% | | update/parse with yrs/database.bin | 64.5±2.33µs | 62.0±1.72µs | **-3.88%** | | update/parse with yrs/large.bin | 4.2±0.20ms | 4.1±0.24ms | **-2.38%** | | update/parse with yrs/with-subdoc.bin | 15.0±0.57µs | 13.9±0.43µs | **-7.33%** |