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

Use rust to improve reading .db file performance #1086

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

csmarchbanks
Copy link
Member

This is an idea to try to improve multiprocess collect performance by using rust to collect the metrics from various .db files. Current state of the benchmarks shows a 2x improvement on my machine (x86 linux).

---------------------------------------------------------------------------------------- benchmark: 2 tests ----------------------------------------------------------------------------------------
Name (time in ms)                        Min                Max               Mean            StdDev             Median               IQR            Outliers      OPS            Rounds  Iterations
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_speedup_collect_performance     33.9249 (1.0)      35.3835 (1.0)      34.6150 (1.0)      0.3620 (1.0)      34.6984 (1.0)      0.5581 (1.0)           6;0  28.8892 (1.0)          20           1
test_native_collect_performance      70.0792 (2.07)     81.2032 (2.29)     72.6370 (2.10)     3.4046 (9.41)     70.7422 (2.04)     3.4498 (6.18)          2;1  13.7671 (0.48)         13           1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

@csmarchbanks csmarchbanks force-pushed the multiprocess-speedups branch 5 times, most recently from 50c1761 to 1bd08b7 Compare January 24, 2025 20:48
@csmarchbanks csmarchbanks force-pushed the multiprocess-speedups branch from 1bd08b7 to 6b37e07 Compare January 24, 2025 21:06
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.

1 participant