Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add compactionProgress() source API #366

Merged
merged 1 commit into from
Jul 8, 2022
Merged

Conversation

staltz
Copy link
Member

@staltz staltz commented Jul 8, 2022

Just bubbling up an AAOL API for ssb-db2 users (via muxrpc).

@staltz staltz requested a review from arj03 July 8, 2022 08:12
Copy link
Member

@arj03 arj03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-actions
Copy link

github-actions bot commented Jul 8, 2022

Benchmark results

Part Duration
add 1000 elements 519ms
add 1000 private box1 elements 1157ms
unbox 1000 private box1 elements first run 123ms
unbox 1000 private box1 elements second run 92ms
add 1000 private box1 elements 1031ms
query 1000 elements first run 40ms
query 1000 elements second run 11ms
add 1000 private box2 elements 563ms
unbox 1000 private box2 elements first run 362ms
unbox 1000 private box2 elements second run 351ms
Migrate (+db1) 11334ms
Migrate (alone) 3916ms
Migrate (+db1 +db2) 8054ms
Migrate (+db2) 6374ms
Migrate continuation (+db2) 960ms
Memory usage without indexes 747.16 MB = 37.33 MB + etc
Initial indexing 689ms
Initial indexing maxCpu=86 4275ms
Initial indexing compat 622ms
Two indexes updating concurrently 961ms
key one initial 46ms
key two 1ms
key one again 1ms
reboot and key one again 46ms
latest root posts 770ms
latest posts 10ms
votes one initial 540ms
votes again 1ms
hasRoot 390ms
hasRoot again 0ms
author one posts 454ms
author two posts 23ms
dedicated author one posts 478ms
dedicated author one posts again 0ms
Maximum memory usage 1010.19 MB = 58.80 MB + etc
Indexes folder size 9.97mb

@staltz staltz merged commit 89de80b into master Jul 8, 2022
@staltz staltz deleted the compaction-progress-api branch July 8, 2022 08:22
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

Benchmark results

Part Duration
add 1000 elements 485ms
add 1000 private box1 elements 1151ms
unbox 1000 private box1 elements first run 119ms
unbox 1000 private box1 elements second run 98ms
add 1000 private box1 elements 1136ms
query 1000 elements first run 41ms
query 1000 elements second run 14ms
add 1000 private box2 elements 619ms
unbox 1000 private box2 elements first run 361ms
unbox 1000 private box2 elements second run 352ms
Migrate (+db1) 11114ms
Migrate (alone) 3798ms
Migrate (+db1 +db2) 8034ms
Migrate (+db2) 6170ms
Migrate continuation (+db2) 871ms
Memory usage without indexes 740.55 MB = 32.82 MB + etc
Initial indexing 730ms
Initial indexing maxCpu=86 4309ms
Initial indexing compat 605ms
Two indexes updating concurrently 956ms
key one initial 49ms
key two 1ms
key one again 0ms
reboot and key one again 42ms
latest root posts 779ms
latest posts 11ms
votes one initial 549ms
votes again 1ms
hasRoot 375ms
hasRoot again 1ms
author one posts 450ms
author two posts 20ms
dedicated author one posts 476ms
dedicated author one posts again 1ms
Maximum memory usage 993.53 MB = 57.23 MB + etc
Indexes folder size 9.97mb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants