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 benchmark for stumpless_get_prival_string #432

Merged

Conversation

amitansu1024
Copy link
Contributor

Adds benchmarking for the function stumpless_get_prival_string. fixes #431

Adds benchmarking for the function stumpless_get_prival_string.
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.62%. Comparing base (8d1f007) to head (c08f263).

Additional details and impacted files
@@            Coverage Diff             @@
##           latest     #432      +/-   ##
==========================================
- Coverage   90.85%   90.62%   -0.23%     
==========================================
  Files          47       47              
  Lines        4384     4384              
  Branches      586      586              
==========================================
- Hits         3983     3973      -10     
- Misses        269      278       +9     
- Partials      132      133       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@goatshriek goatshriek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together! I believe two changes will be enough for this to be accepted: moving free as noted below, and adding the header for free as well.

I'm unsure why the locale CI builds are failing but not others. Let's see if the other changes resolve this failure as well.

test/performance/prival.cpp Outdated Show resolved Hide resolved
@goatshriek goatshriek self-assigned this Jul 30, 2024
@goatshriek goatshriek added enhancement new features or improvements testing pertains to the test suite labels Jul 30, 2024
Adds required headers for free function. Move free inside loops to
avoid memory leaks in test.
@goatshriek
Copy link
Owner

Thanks again! I've identified the issue affecting some of the builds - this will get merged once that makes it in so that this change doesn't falsely appear to cause failures.

@goatshriek goatshriek merged commit 4162d1d into goatshriek:latest Jul 30, 2024
31 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new features or improvements testing pertains to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add benchmark for stumpless_get_prival_string
2 participants