-
Notifications
You must be signed in to change notification settings - Fork 293
Benchmarks for perf #1756
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
base: main
Are you sure you want to change the base?
Benchmarks for perf #1756
Conversation
…w it to be captured by PGO builds and track performance
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
CodSpeed Performance ReportMerging #1756 will degrade performances by 28.55%Comparing Summary
Benchmarks breakdown
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just needs the groups adjusting, otherwise lgtm, thanks!
@@ -319,7 +319,6 @@ def r(): | |||
fs_model_serializer.to_python(m, exclude_unset=True) | |||
|
|||
|
|||
@pytest.mark.benchmark(group='model-list-json') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this line was unintentionally removed to the below, needs reverting
@@ -360,6 +359,33 @@ def r(): | |||
v.to_python(d, mode='json') | |||
|
|||
|
|||
@pytest.mark.benchmark(group='model-list-json') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably the benchmark group on all these temporal tests should be adjusted, maybe group='temporal'
?
Change Summary
Just a quick follow up to the feature to give some benchmarks to test performance. I saw about a 3% improvement locally when building with these
Related issue number
Checklist
pydantic-core
(except for expected changes)