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

Write specific benchmarks for CodSpeed #1306

Merged
merged 5 commits into from
Jul 18, 2024
Merged

Write specific benchmarks for CodSpeed #1306

merged 5 commits into from
Jul 18, 2024

Conversation

hynek
Copy link
Member

@hynek hynek commented Jul 18, 2024

Just adding benchmarking to functional tests is a bit too noisy.

Copy link

codspeed-hq bot commented Jul 18, 2024

CodSpeed Performance Report

Merging #1306 will create unknown performance changes

Comparing simplify-benchmarks (d362335) with main (0a09c1a)

Summary

🆕 8 new benchmarks
⁉️ 12 (👁 12) dropped benchmarks

Benchmarks breakdown

Benchmark main simplify-benchmarks Change
🆕 test_create_frozen_class N/A 1.7 s N/A
🆕 test_create_simple_class N/A 1.5 s N/A
🆕 test_create_simple_class_make_class N/A 1.5 s N/A
🆕 test_eq_equal N/A 1.1 ms N/A
🆕 test_eq_unequal N/A 1.1 ms N/A
🆕 test_hash N/A 1.2 ms N/A
🆕 test_instantiate_no_defaults N/A 1.3 ms N/A
🆕 test_instantiate_with_defaults N/A 1.3 ms N/A
👁 test_asdict[C1Slots] 112 µs N/A N/A
👁 test_asdict[C1] 124.3 µs N/A N/A
👁 test_auto_exc[False-False] 3.5 ms N/A N/A
👁 test_auto_exc[False-True] 3.5 ms N/A N/A
👁 test_auto_exc[True-False] 3.6 ms N/A N/A
👁 test_auto_exc[True-True] 3.6 ms N/A N/A
👁 test_default_decorator 1.8 ms N/A N/A
👁 test_fields[C2Slots] 139.2 µs N/A N/A
👁 test_fields[C2] 151.6 µs N/A N/A
👁 test_programmatic 17.5 ms N/A N/A
👁 test_unsafe_hash[False] 1.4 ms N/A N/A
👁 test_unsafe_hash[True] 1.5 ms N/A N/A

@hynek hynek merged commit 1fd3af0 into main Jul 18, 2024
23 checks passed
@hynek hynek deleted the simplify-benchmarks branch July 18, 2024 09:00
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