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

ci: add dataclasses benchmarks #189

Merged
merged 5 commits into from
Feb 22, 2023
Merged

Conversation

tlambert03
Copy link
Member

adding benchmarks to time the creation of evented dataclasses, and time to setattr

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 22, 2023

CodSpeed Performance Report

Merging #189 new-bench (4d86ced) will not alter performances.

Summary

🔥 0 improvements
❌ 0 regressions
✅ 58 untouched benchmarks

🆕 8 new benchmarks
⁉️ 0 dropped benchmarks

Benchmarks breakdown

Benchmark main new-bench Change
🆕 test_dataclass_group_create[dataclass] N/A 1.6 ms N/A
🆕 test_dataclass_group_create[pydantic] N/A 1.6 ms N/A
🆕 test_dataclass_group_create[attrs] N/A 1.7 ms N/A
🆕 test_dataclass_group_create[msgspec] N/A 1.7 ms N/A
🆕 test_dataclass_setattr[dataclass] N/A 3.3 ms N/A
🆕 test_dataclass_setattr[pydantic] N/A 3.4 ms N/A
🆕 test_dataclass_setattr[attrs] N/A 3.3 ms N/A
🆕 test_dataclass_setattr[msgspec] N/A 3.2 ms N/A

@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (f700406) compared to base (c4cb74a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #189   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1569      1569           
=========================================
  Hits          1569      1569           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tlambert03 tlambert03 merged commit 7c61374 into pyapp-kit:main Feb 22, 2023
@tlambert03 tlambert03 deleted the new-bench branch February 22, 2023 21:50
@tlambert03 tlambert03 added the tests Tests & CI label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests & CI
Development

Successfully merging this pull request may close these issues.

1 participant