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.38k stars 91 forks source link

feat: default config for HOOK_ENDPOINT #493

Closed thorseraq closed 1 year ago

vercel[bot] commented 1 year 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 Jul 20, 2023 7:14am
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +0.05 :tada:

Comparison is base (fe1e53f) 68.21% compared to head (fe2144e) 68.26%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #493 +/- ## ========================================== + Coverage 68.21% 68.26% +0.05% ========================================== Files 162 162 Lines 19350 19350 ========================================== + Hits 13199 13210 +11 + Misses 6151 6140 -11 ``` | [Impacted Files](https://app.codecov.io/gh/toeverything/OctoBase/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | Coverage Δ | | |---|---|---| | [apps/keck/src/server/mod.rs](https://app.codecov.io/gh/toeverything/OctoBase/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#diff-YXBwcy9rZWNrL3NyYy9zZXJ2ZXIvbW9kLnJz) | `0.00% <0.00%> (ø)` | | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/toeverything/OctoBase/pull/493/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: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

Benchmark Results

Linux

group                                  master                                 pr
-----                                  ------                                 --
codec/jwst decode var_int (32 bit)     1.02    313.4±2.84µs        ? ?/sec    1.00    306.5±1.09µs        ? ?/sec
codec/jwst decode var_int (64 bit)     1.00    319.5±0.22µs        ? ?/sec    1.00    319.5±0.22µs        ? ?/sec
codec/jwst decode var_uint (32 bit)    1.00    272.7±1.46µs        ? ?/sec    1.00    272.7±0.49µs        ? ?/sec
codec/jwst decode var_uint (64 bit)    1.00    308.2±0.29µs        ? ?/sec    1.00    308.2±0.43µs        ? ?/sec
codec/jwst encode var_int (32 bit)     1.00    403.3±2.14µs        ? ?/sec    1.00    404.5±2.52µs        ? ?/sec
codec/jwst encode var_int (64 bit)     1.00    409.7±1.48µs        ? ?/sec    1.00    409.9±1.58µs        ? ?/sec
codec/jwst encode var_uint (32 bit)    1.00    377.9±1.20µs        ? ?/sec    1.00    377.5±0.55µs        ? ?/sec
codec/jwst encode var_uint (64 bit)    1.00    377.6±0.63µs        ? ?/sec    1.00    377.7±0.67µs        ? ?/sec
codec/lib0 decode var_int (64 bit)     1.00    268.5±1.17µs        ? ?/sec    1.00    269.0±1.35µs        ? ?/sec
codec/lib0 decode var_uint (32 bit)    1.00    252.1±3.27µs        ? ?/sec    1.01    255.2±3.25µs        ? ?/sec
codec/lib0 decode var_uint (64 bit)    1.00    272.7±6.94µs        ? ?/sec    1.01    276.1±8.06µs        ? ?/sec
codec/lib0 encode var_int (64 bit)     1.00    387.6±2.33µs        ? ?/sec    1.01    389.9±1.22µs        ? ?/sec
codec/lib0 encode var_uint (32 bit)    1.00    380.6±3.59µs        ? ?/sec    1.02    390.2±3.35µs        ? ?/sec
codec/lib0 encode var_uint (64 bit)    1.00    378.9±1.36µs        ? ?/sec    1.03    390.2±3.12µs        ? ?/sec
ops/array/jwst/insert                  1.01    394.2±0.40µs        ? ?/sec    1.00    390.5±0.30µs        ? ?/sec
ops/array/jwst/insert range            1.01    528.4±0.35µs        ? ?/sec    1.00    525.2±0.30µs        ? ?/sec
ops/array/jwst/remove                  1.00    274.5±0.28µs        ? ?/sec    1.00    274.4±0.31µs        ? ?/sec
ops/array/yrs/insert                   1.00     89.0±0.42µs        ? ?/sec    1.01     90.3±0.57µs        ? ?/sec
ops/array/yrs/insert range             1.00    113.0±0.95µs        ? ?/sec    1.02    115.4±0.38µs        ? ?/sec
ops/array/yrs/remove                   1.00     94.6±0.28µs        ? ?/sec    1.00     94.4±0.21µs        ? ?/sec
ops/text/jwst/insert                   1.02    151.1±1.00µs        ? ?/sec    1.00    148.2±0.93µs        ? ?/sec
ops/text/jwst/remove                   1.00      2.7±0.00µs        ? ?/sec    1.00      2.7±0.00µs        ? ?/sec
ops/text/yrs/insert                    1.02     42.3±0.06µs        ? ?/sec    1.00     41.7±0.02µs        ? ?/sec
ops/text/yrs/remove                    1.01      2.4±0.00µs        ? ?/sec    1.00      2.4±0.00µs        ? ?/sec
update/parse with jwst/basic.bin       1.00     51.1±0.07µs   106.9 MB/sec    1.00     50.9±0.07µs   107.3 MB/sec
update/parse with jwst/database.bin    1.00     53.1±0.03µs    62.4 MB/sec    1.00     52.9±0.09µs    62.7 MB/sec
update/parse with jwst/large.bin       1.00      3.4±0.01ms    67.3 MB/sec    1.02      3.5±0.00ms    66.1 MB/sec
update/parse with yrs/basic.bin        1.00     40.9±0.10µs   133.4 MB/sec    1.00     41.0±0.04µs   133.1 MB/sec
update/parse with yrs/database.bin     1.01     33.2±0.02µs    99.8 MB/sec    1.00     33.0±0.06µs   100.4 MB/sec
update/parse with yrs/large.bin        1.02      2.1±0.00ms   107.7 MB/sec    1.00      2.1±0.00ms   109.6 MB/sec

Windows

group                                  master                                 pr
-----                                  ------                                 --
codec/jwst decode var_int (32 bit)     1.00   393.6±15.60µs        ? ?/sec    1.01   395.9±24.27µs        ? ?/sec
codec/jwst decode var_int (64 bit)     1.00   429.7±20.63µs        ? ?/sec    1.00   428.6±20.46µs        ? ?/sec
codec/jwst decode var_uint (32 bit)    1.00   343.9±14.21µs        ? ?/sec    1.00   344.8±15.35µs        ? ?/sec
codec/jwst decode var_uint (64 bit)    1.01   351.3±18.96µs        ? ?/sec    1.00   346.2±11.66µs        ? ?/sec
codec/jwst encode var_int (32 bit)     1.00   467.4±20.25µs        ? ?/sec    1.01   474.2±24.60µs        ? ?/sec
codec/jwst encode var_int (64 bit)     1.02   475.2±25.61µs        ? ?/sec    1.00   467.9±21.61µs        ? ?/sec
codec/jwst encode var_uint (32 bit)    1.00   381.4±20.13µs        ? ?/sec    1.01   384.6±16.27µs        ? ?/sec
codec/jwst encode var_uint (64 bit)    1.00   385.2±23.78µs        ? ?/sec    1.01   387.6±23.03µs        ? ?/sec
codec/lib0 decode var_int (64 bit)     1.01   360.0±14.71µs        ? ?/sec    1.00   356.9±14.27µs        ? ?/sec
codec/lib0 decode var_uint (32 bit)    1.01   281.4±13.87µs        ? ?/sec    1.00    278.8±9.49µs        ? ?/sec
codec/lib0 decode var_uint (64 bit)    1.04   290.0±18.45µs        ? ?/sec    1.00   278.0±11.78µs        ? ?/sec
codec/lib0 encode var_int (64 bit)     1.01   500.4±24.59µs        ? ?/sec    1.00   496.8±20.78µs        ? ?/sec
codec/lib0 encode var_uint (32 bit)    1.01   329.8±16.25µs        ? ?/sec    1.00   328.1±24.07µs        ? ?/sec
codec/lib0 encode var_uint (64 bit)    1.00   457.5±25.70µs        ? ?/sec    1.03   470.4±29.52µs        ? ?/sec
ops/array/jwst/insert                  1.01   453.4±23.32µs        ? ?/sec    1.00   448.3±17.98µs        ? ?/sec
ops/array/jwst/insert range            1.01   597.0±21.05µs        ? ?/sec    1.00   592.6±21.91µs        ? ?/sec
ops/array/jwst/remove                  1.00   287.3±10.67µs        ? ?/sec    1.00   287.1±12.47µs        ? ?/sec
ops/array/yrs/insert                   1.00    116.2±4.36µs        ? ?/sec    1.02    118.7±4.43µs        ? ?/sec
ops/array/yrs/insert range             1.00    163.8±4.35µs        ? ?/sec    1.01    164.7±5.56µs        ? ?/sec
ops/array/yrs/remove                   1.00   174.2±11.10µs        ? ?/sec    1.01    175.8±7.34µs        ? ?/sec
ops/text/jwst/insert                   1.00    199.8±7.76µs        ? ?/sec    1.00    200.1±6.39µs        ? ?/sec
ops/text/jwst/remove                   1.00      3.2±0.11µs        ? ?/sec    1.01      3.2±0.12µs        ? ?/sec
ops/text/yrs/insert                    1.01     51.9±2.05µs        ? ?/sec    1.00     51.4±1.62µs        ? ?/sec
ops/text/yrs/remove                    1.02      4.2±0.12µs        ? ?/sec    1.00      4.1±0.22µs        ? ?/sec
update/parse with jwst/basic.bin       1.01    107.5±3.12µs    50.8 MB/sec    1.00    106.1±3.45µs    51.5 MB/sec
update/parse with jwst/database.bin    1.00     85.5±2.66µs    38.8 MB/sec    1.01     86.0±2.44µs    38.5 MB/sec
update/parse with jwst/large.bin       1.00      5.1±0.20ms    44.6 MB/sec    1.01      5.2±0.19ms    44.1 MB/sec
update/parse with yrs/basic.bin        1.00     73.1±2.52µs    74.7 MB/sec    1.06     77.3±2.20µs    70.7 MB/sec
update/parse with yrs/database.bin     1.00     55.0±1.90µs    60.2 MB/sec    1.06     58.3±2.29µs    56.8 MB/sec
update/parse with yrs/large.bin        1.00      3.5±0.13ms    65.9 MB/sec    1.05      3.6±0.19ms    62.6 MB/sec