Optimize some hot paths#603
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #603 +/- ##
==========================================
- Coverage 82.62% 82.40% -0.23%
==========================================
Files 161 161
Lines 5895 5893 -2
Branches 682 681 -1
==========================================
- Hits 4871 4856 -15
- Misses 803 812 +9
- Partials 221 225 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
greenc-FNAL
left a comment
There was a problem hiding this comment.
Most of these comments reflect my unfamiliarity with the code rather than issues with the code itself.
Any chance of a test to mitigate https://app.codecov.io/gh/Framework-R-D/phlex/pull/603?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Framework-R-D?
The |
Comments addressed in most recent commits
6b9af5e to
93bb16f
Compare
- Send the algorithm_name directly to product_store constructors instead of creating one from a std::string. - Adjust the underlying container of `products` to be a std::vector.
93bb16f to
5676f0f
Compare
These are some optimizations that were suggested by Claude using macOS Instruments' profile data on the
many_eventstest.algorithm_namedirectly to product_store constructors instead of creating one from a std::string.productsto be astd::vector.