ssbc / jitdb

A database on top of a log with automatic index generation and maintenance
50 stars 7 forks source link

update async-append-only-log to 4.0.0 #195

Closed staltz closed 2 years ago

staltz commented 2 years ago

Not needed to make things work, but it's a way of signalling to whoever is using jitdb that they also have to install aaol 4.0

github-actions[bot] commented 2 years ago

Benchmark results

Part Speed Heap Change Samples
Count 1 big index (3rd run) 0.63ms ± 0.27ms 10.09 kB ± 30.4 kB 38
Create an index twice concurrently 575.16ms ± 9.04ms 51.85 kB ± 69.12 kB 96
Load core indexes 0.89ms ± 0.01ms 88 B ± 198.25 B 8946
Load two indexes concurrently 525.89ms ± 9.12ms -87.56 kB ± 188.8 kB 20
Paginate 10 results 24.61ms ± 0.83ms 1.08 kB ± 16.58 kB 27
Paginate 20000 msgs with pageSize=5 6497.22ms ± 113.82ms -23.92 kB ± 6331.23 kB 5
Paginate 20000 msgs with pageSize=500 695.92ms ± 57.12ms 735.59 kB ± 928.71 kB 17
Query 1 big index (1st run) 1029.65ms ± 13.08ms -25.69 kB ± 74.58 kB 52
Query 1 big index (2nd run) 281.23ms ± 5.41ms 16.25 kB ± 49.17 kB 48
Query 3 indexes (1st run) 934.54ms ± 13.02ms 19.44 kB ± 107.3 kB 58
Query 3 indexes (2nd run) 271.72ms ± 3.97ms 37.8 kB ± 670.9 kB 42
Query a prefix map (1st run) 250.86ms ± 6.98ms -470.14 kB ± 256.19 kB 23
Query a prefix map (2nd run) 13.17ms ± 0.72ms -4.56 kB ± 16.47 kB 21
github-actions[bot] commented 2 years ago

Benchmark results

Part Speed Heap Change Samples
Count 1 big index (3rd run) 0.37ms ± 0.03ms -21.6 kB ± 22.31 kB 53
Create an index twice concurrently 579.81ms ± 14.78ms -8.39 kB ± 64.28 kB 95
Load core indexes 1.32ms ± 0.02ms 96.53 B ± 230.55 B 7009
Load two indexes concurrently 683.06ms ± 14.57ms -21.38 kB ± 225.54 kB 18
Paginate 10 results 26.58ms ± 0.9ms -3.96 kB ± 21.65 kB 26
Paginate 20000 msgs with pageSize=5 6236.49ms ± 146.77ms 7.73 kB ± 4652.81 kB 5
Paginate 20000 msgs with pageSize=500 723.41ms ± 9.9ms 783.72 kB ± 1135.5 kB 17
Query 1 big index (1st run) 952.4ms ± 15.88ms -11.81 kB ± 73.65 kB 56
Query 1 big index (2nd run) 274.46ms ± 5.59ms 12.09 kB ± 29.84 kB 47
Query 3 indexes (1st run) 867.54ms ± 12.41ms -28.37 kB ± 99.23 kB 63
Query 3 indexes (2nd run) 264.45ms ± 5.2ms 18.86 kB ± 328.13 kB 43
Query a prefix map (1st run) 249.31ms ± 2.4ms -66.99 kB ± 404.49 kB 23
Query a prefix map (2nd run) 12.72ms ± 0.75ms -528 B ± 21437.04 B 21