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

ci: use self hosted machine #550

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 Oct 18, 2023 10:47am
github-actions[bot] commented 11 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 377.5±27.05µs | 375.3±21.13µs | -0.58% | | codec/jwst decode var_uint (32 bit) | 306.0±18.03µs | 317.7±15.74µs | +3.82% | | codec/jwst decode var_uint (64 bit) | 326.7±18.90µs | 303.5±17.84µs | **-7.10%** | | codec/jwst encode var_int (32 bit) | 487.0±30.11µs | 449.1±26.28µs | **-7.78%** | | codec/jwst encode var_uint (32 bit) | 369.0±24.27µs | 355.7±13.39µs | **-3.60%** | | codec/jwst encode var_uint (64 bit) | 389.3±25.43µs | 382.3±23.73µs | -1.80% | | codec/lib0 decode var_int (64 bit) | 844.3±44.28µs | 821.8±26.00µs | -2.66% | | codec/lib0 decode var_uint (32 bit) | 816.5±37.95µs | 812.6±43.96µs | -0.48% | | codec/lib0 decode var_uint (64 bit) | 776.5±35.16µs | 773.1±42.93µs | -0.44% | | codec/lib0 encode var_int (64 bit) | 961.6±67.28µs | 918.5±44.55µs | -4.48% | | codec/lib0 encode var_uint (32 bit) | 796.2±35.81µs | 837.7±54.37µs | **+5.21%** | | codec/lib0 encode var_uint (64 bit) | 831.2±48.45µs | 768.2±37.58µs | **-7.58%** | | ops/array/jwst/insert | 277.4±11.39µs | 275.2±14.28µs | -0.79% | | ops/array/jwst/insert range | 401.4±22.84µs | 423.1±23.78µs | +5.41% | | ops/array/jwst/remove | 183.6±9.90µs | 173.2±7.39µs | **-5.66%** | | ops/array/yrs/insert | 113.1±5.38µs | 120.5±7.08µs | **+6.54%** | | ops/array/yrs/insert range | 147.9±8.26µs | 141.8±6.33µs | **-4.12%** | | ops/array/yrs/remove | 119.5±7.28µs | 114.7±5.79µs | -4.02% | | ops/map/jwst/get | 498.7±29.33ns | 495.3±44.51ns | -0.68% | | ops/map/jwst/insert | 6.2±0.31µs | 6.6±0.38µs | **+6.45%** | | ops/map/jwst/remove | 7.9±0.34µs | 7.9±0.48µs | -0.00% | | ops/map/yrs/get | 398.4±20.27ns | 380.3±16.39ns | **-4.54%** | | ops/map/yrs/insert | 5.6±0.25µs | 5.7±0.21µs | **+1.79%** | | ops/map/yrs/remove | 7.5±0.38µs | 8.1±0.43µs | **+8.00%** | | ops/text/jwst/insert | 142.9±8.11µs | 145.9±6.45µs | +2.10% | | ops/text/jwst/remove | 3.8±0.23µs | 3.5±0.18µs | **-7.89%** | | ops/text/yrs/insert | 44.9±2.89µs | 45.4±2.80µs | +1.11% | | ops/text/yrs/remove | 2.6±0.15µs | 2.5±0.12µs | **-3.85%** | | update/parse with jwst/basic.bin | 71.9±4.26µs | 66.1±3.07µs | **-8.07%** | | update/parse with jwst/database.bin | 49.6±3.61µs | 45.0±1.94µs | **-9.27%** | | update/parse with jwst/large.bin | 3.7±0.23ms | 3.3±0.24ms | **-10.81%** | | update/parse with jwst/with-subdoc.bin | 9.7±0.34µs | 8.8±0.46µs | **-9.28%** | | update/parse with yrs/basic.bin | 57.2±2.54µs | 54.0±2.95µs | **-5.59%** | | update/parse with yrs/database.bin | 35.2±1.97µs | 35.7±1.79µs | +1.42% | | update/parse with yrs/large.bin | 2.6±0.11ms | 2.6±0.11ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 8.2±0.35µs | 8.2±0.47µs | -0.00% |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 437.2±15.17µs | 482.6±22.34µs | **+10.38%** | | codec/jwst decode var_uint (32 bit) | 391.1±17.22µs | 430.9±23.26µs | **+10.18%** | | codec/jwst decode var_uint (64 bit) | 422.9±32.16µs | 407.8±14.84µs | **-3.57%** | | codec/jwst encode var_int (32 bit) | 478.9±19.01µs | 504.0±24.11µs | **+5.24%** | | codec/jwst encode var_uint (32 bit) | 333.6±16.75µs | 354.9±15.55µs | **+6.38%** | | codec/jwst encode var_uint (64 bit) | 326.9±24.65µs | 350.5±15.26µs | **+7.22%** | | codec/lib0 decode var_int (64 bit) | 333.2±20.19µs | 343.8±9.93µs | **+3.18%** | | codec/lib0 decode var_uint (32 bit) | 279.2±13.12µs | 295.4±11.94µs | **+5.80%** | | codec/lib0 decode var_uint (64 bit) | 285.9±19.56µs | 302.6±16.30µs | **+5.84%** | | codec/lib0 encode var_int (64 bit) | 468.1±24.32µs | 506.4±17.25µs | **+8.18%** | | codec/lib0 encode var_uint (32 bit) | 332.3±15.43µs | 362.9±17.30µs | **+9.21%** | | codec/lib0 encode var_uint (64 bit) | 325.0±15.79µs | 345.6±14.94µs | **+6.34%** | | ops/array/jwst/insert | 321.7±12.88µs | 349.6±14.00µs | **+8.67%** | | ops/array/jwst/insert range | 463.7±38.97µs | 478.4±15.90µs | +3.17% | | ops/array/jwst/remove | 185.9±6.45µs | 200.7±7.26µs | **+7.96%** | | ops/array/yrs/insert | 127.1±11.86µs | 133.1±5.22µs | **+4.72%** | | ops/array/yrs/insert range | 170.3±5.47µs | 184.4±6.37µs | **+8.28%** | | ops/array/yrs/remove | 177.0±7.79µs | 199.8±10.71µs | **+12.88%** | | ops/map/jwst/get | 558.8±26.75ns | 607.2±52.95ns | **+8.66%** | | ops/map/jwst/insert | 10.5±0.39µs | 12.5±1.27µs | **+19.05%** | | ops/map/jwst/remove | 10.6±0.35µs | 12.4±0.40µs | **+16.98%** | | ops/map/yrs/get | 405.4±15.53ns | 426.7±18.03ns | **+5.25%** | | ops/map/yrs/insert | 9.1±0.34µs | 9.7±0.27µs | **+6.59%** | | ops/map/yrs/remove | 12.2±0.49µs | 12.1±0.42µs | **-0.82%** | | ops/text/jwst/insert | 184.3±7.70µs | 183.1±6.17µs | -0.65% | | ops/text/jwst/remove | 4.6±0.20µs | 4.9±0.27µs | **+6.52%** | | ops/text/yrs/insert | 55.4±2.25µs | 63.9±3.21µs | **+15.34%** | | ops/text/yrs/remove | 4.3±0.40µs | 4.4±0.15µs | **+2.33%** | | update/parse with jwst/basic.bin | 101.6±4.79µs | 101.4±4.17µs | -0.20% | | update/parse with jwst/database.bin | 75.9±3.88µs | 79.9±2.66µs | **+5.27%** | | update/parse with jwst/large.bin | 5.1±0.28ms | 4.9±0.19ms | **-3.92%** | | update/parse with jwst/with-subdoc.bin | 15.1±0.63µs | 13.9±0.56µs | **-7.95%** | | update/parse with yrs/basic.bin | 86.4±3.16µs | 77.0±2.65µs | **-10.88%** | | update/parse with yrs/database.bin | 66.1±2.04µs | 59.6±1.70µs | **-9.83%** | | update/parse with yrs/large.bin | 4.2±0.19ms | 3.9±0.27ms | **-7.14%** | | update/parse with yrs/with-subdoc.bin | 13.1±0.39µs | 12.9±0.46µs | **-1.53%** |
codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (e1e1aed) 65.65% compared to head (f158337) 65.66%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #550 +/- ## ======================================= Coverage 65.65% 65.66% ======================================= Files 117 117 Lines 13015 13015 ======================================= + Hits 8545 8546 +1 + Misses 4470 4469 -1 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/toeverything/OctoBase/pull/550/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 11 months ago

Benchmark for Linux

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 359.0±4.51µs | 358.1±4.12µs | -0.25% | | codec/jwst decode var_uint (32 bit) | 306.7±2.23µs | 306.0±2.51µs | -0.23% | | codec/jwst decode var_uint (64 bit) | 278.4±1.06µs | 278.8±1.41µs | +0.14% | | codec/jwst encode var_int (32 bit) | 399.4±4.77µs | 398.7±2.16µs | -0.18% | | codec/jwst encode var_uint (32 bit) | 310.7±3.76µs | 309.1±1.10µs | **-0.51%** | | codec/jwst encode var_uint (64 bit) | 309.3±1.00µs | 309.1±2.66µs | -0.06% | | codec/lib0 decode var_int (64 bit) | 268.5±0.40µs | 268.5±0.33µs | -0.00% | | codec/lib0 decode var_uint (32 bit) | 253.2±2.96µs | 253.3±3.08µs | +0.04% | | codec/lib0 decode var_uint (64 bit) | 235.8±1.22µs | 257.6±8.80µs | **+9.25%** | | codec/lib0 encode var_int (64 bit) | 392.0±2.65µs | 390.5±2.07µs | -0.38% | | codec/lib0 encode var_uint (32 bit) | 383.1±1.52µs | 389.6±2.76µs | **+1.70%** | | codec/lib0 encode var_uint (64 bit) | 302.6±0.49µs | 303.2±0.51µs | **+0.20%** | | ops/array/jwst/insert | 264.3±2.97µs | 266.0±0.35µs | **+0.64%** | | ops/array/jwst/insert range | 378.2±0.59µs | 387.7±0.41µs | **+2.51%** | | ops/array/jwst/remove | 170.9±1.67µs | 170.6±0.37µs | **-0.18%** | | ops/array/yrs/insert | 73.8±0.92µs | 74.7±0.32µs | **+1.22%** | | ops/array/yrs/insert range | 102.9±0.18µs | 103.1±0.23µs | **+0.19%** | | ops/array/yrs/remove | 98.9±0.91µs | 94.4±0.15µs | **-4.55%** | | ops/map/jwst/get | 497.4±2.88ns | 461.5±3.55ns | **-7.22%** | | ops/map/jwst/insert | 6.9±0.04µs | 7.0±0.01µs | **+1.45%** | | ops/map/jwst/remove | 8.9±0.03µs | 8.9±0.03µs | -0.00% | | ops/map/yrs/get | 364.0±1.75ns | 357.1±1.71ns | **-1.90%** | | ops/map/yrs/insert | 5.4±0.05µs | 5.2±0.01µs | **-3.70%** | | ops/map/yrs/remove | 7.2±0.03µs | 7.1±0.02µs | **-1.39%** | | ops/text/jwst/insert | 128.8±0.19µs | 129.2±0.47µs | **+0.31%** | | ops/text/jwst/remove | 3.5±0.07µs | 3.5±0.01µs | -0.00% | | ops/text/yrs/insert | 35.1±0.11µs | 34.9±0.13µs | **-0.57%** | | ops/text/yrs/remove | 2.4±0.00µs | 2.3±0.00µs | **-4.17%** | | update/parse with jwst/basic.bin | 55.2±0.04µs | 55.7±0.08µs | **+0.91%** | | update/parse with jwst/database.bin | 35.8±0.42µs | 35.5±0.07µs | **-0.84%** | | update/parse with jwst/large.bin | 2.8±0.00ms | 2.9±0.01ms | **+3.57%** | | update/parse with jwst/with-subdoc.bin | 8.0±0.12µs | 7.1±0.00µs | **-11.25%** | | update/parse with yrs/basic.bin | 41.4±0.08µs | 41.6±0.05µs | **+0.48%** | | update/parse with yrs/database.bin | 26.2±0.17µs | 26.4±0.10µs | **+0.76%** | | update/parse with yrs/large.bin | 2.1±0.02ms | 2.1±0.02ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 5.7±0.01µs | 6.3±0.01µs | **+10.53%** |

Benchmark for Windows

Click to view benchmark | Test | Base | PR | % | | --- | --- | --- | --- | | codec/jwst decode var_int (32 bit) | 480.6±12.90µs | 471.3±10.82µs | -1.94% | | codec/jwst decode var_uint (32 bit) | 429.4±12.03µs | 425.3±11.33µs | -0.95% | | codec/jwst decode var_uint (64 bit) | 428.0±11.95µs | 426.1±13.92µs | -0.44% | | codec/jwst encode var_int (32 bit) | 530.7±22.70µs | 510.1±15.10µs | **-3.88%** | | codec/jwst encode var_uint (32 bit) | 351.6±12.87µs | 360.6±8.53µs | **+2.56%** | | codec/jwst encode var_uint (64 bit) | 364.5±9.72µs | 355.6±9.33µs | -2.44% | | codec/lib0 decode var_int (64 bit) | 360.6±11.50µs | 358.4±10.30µs | -0.61% | | codec/lib0 decode var_uint (32 bit) | 311.8±11.12µs | 307.8±9.09µs | -1.28% | | codec/lib0 decode var_uint (64 bit) | 310.8±11.48µs | 304.7±6.92µs | **-1.96%** | | codec/lib0 encode var_int (64 bit) | 525.0±34.60µs | 507.6±11.76µs | **-3.31%** | | codec/lib0 encode var_uint (32 bit) | 372.2±10.12µs | 370.4±9.51µs | -0.48% | | codec/lib0 encode var_uint (64 bit) | 364.4±11.18µs | 360.0±10.05µs | -1.21% | | ops/array/jwst/insert | 364.0±11.89µs | 356.0±9.25µs | -2.20% | | ops/array/jwst/insert range | 495.8±12.35µs | 494.3±15.65µs | -0.30% | | ops/array/jwst/remove | 210.0±4.41µs | 206.6±4.64µs | -1.62% | | ops/array/yrs/insert | 133.0±5.04µs | 134.3±3.36µs | +0.98% | | ops/array/yrs/insert range | 184.3±3.82µs | 181.7±3.82µs | -1.41% | | ops/array/yrs/remove | 194.7±4.26µs | 197.4±4.12µs | +1.39% | | ops/map/jwst/get | 609.7±18.64ns | 613.6±18.53ns | +0.64% | | ops/map/jwst/insert | 11.6±0.34µs | 12.1±0.24µs | **+4.31%** | | ops/map/jwst/remove | 11.7±0.32µs | 12.7±0.34µs | **+8.55%** | | ops/map/yrs/get | 446.8±16.73ns | 441.1±10.92ns | -1.28% | | ops/map/yrs/insert | 10.1±0.25µs | 10.1±0.28µs | -0.00% | | ops/map/yrs/remove | 13.0±0.36µs | 12.9±0.23µs | **-0.77%** | | ops/text/jwst/insert | 200.7±4.84µs | 201.3±4.32µs | +0.30% | | ops/text/jwst/remove | 5.1±0.11µs | 4.8±0.11µs | **-5.88%** | | ops/text/yrs/insert | 64.0±1.27µs | 62.3±1.74µs | **-2.66%** | | ops/text/yrs/remove | 4.6±0.11µs | 4.5±0.09µs | **-2.17%** | | update/parse with jwst/basic.bin | 106.7±2.68µs | 103.3±2.61µs | **-3.19%** | | update/parse with jwst/database.bin | 83.2±2.44µs | 82.9±1.85µs | -0.36% | | update/parse with jwst/large.bin | 5.2±0.21ms | 5.5±0.28ms | **+5.77%** | | update/parse with jwst/with-subdoc.bin | 14.5±0.48µs | 14.5±0.40µs | -0.00% | | update/parse with yrs/basic.bin | 86.0±2.54µs | 82.4±2.69µs | **-4.19%** | | update/parse with yrs/database.bin | 66.9±1.44µs | 62.1±1.48µs | **-7.17%** | | update/parse with yrs/large.bin | 4.2±0.16ms | 4.2±0.13ms | -0.00% | | update/parse with yrs/with-subdoc.bin | 15.5±0.28µs | 13.4±0.31µs | **-13.55%** |