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 setup to benchmark #80

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Add setup to benchmark #80

merged 1 commit into from
Nov 29, 2023

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Nov 29, 2023

Because we "empty" the annotator when running define_annoator / commit, we never really measured the time it took to run the critical part of the code.

Copy link

codspeed-hq bot commented Nov 29, 2023

CodSpeed Performance Report

Merging #80 will degrade performances by 99.94%

Comparing benchmark_database3 (b89790c) with main (db4f638)

Summary

❌ 6 (👁 6) regressions

Benchmarks breakdown

Benchmark main benchmark_database3 Change
👁 test_commit[1000] 8.5 ms 13,452 ms -99.94%
👁 test_commit[100] 1.3 ms 1,211.4 ms -99.89%
👁 test_define_annotations[100] 51.2 ms 131.9 ms -61.19%
👁 test_commit[10] 562.2 µs 206,607.9 µs -99.73%
👁 test_define_annotations[10] 8.5 ms 89.8 ms -90.54%
👁 test_define_annotations[1000] 482.3 ms 566.9 ms -14.92%

@hoxbro hoxbro merged commit fed5217 into main Nov 29, 2023
17 checks passed
@hoxbro hoxbro deleted the benchmark_database3 branch November 29, 2023 15:48
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.

None yet

1 participant