ambry icon indicating copy to clipboard operation
ambry copied to clipboard

Extend NamedBlobMysqlDatabasePerf tool for more tests

Open justinlin-linkedin opened this issue 5 months ago • 1 comments

Summary

Extend NamedBlobMsyqlDatabasePerf tool to do more type of tests

Add new TestType enum for different type of tests

We are adding READ_WRITE for regular read and write test We are adding CUSTOM for some custom test We are adding LIST for list operations test

Remove command line argument and prefer configuration file

Remore command line argument in the code and asks all parameters to be provided from configuration file

Testing Done

Run the cli to for all tests

justinlin-linkedin avatar Jun 17 '25 17:06 justinlin-linkedin

Codecov Report

Attention: Patch coverage is 20.00000% with 156 lines in your changes missing coverage. Please review.

Project coverage is 69.86%. Comparing base (52ba813) to head (d832f1c). Report is 274 commits behind head on master.

Files with missing lines Patch % Lines
...b/ambry/tools/perf/NamedBlobMysqlDatabasePerf.java 19.17% 153 Missing and 3 partials :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3117      +/-   ##
============================================
+ Coverage     64.24%   69.86%   +5.62%     
- Complexity    10398    12690    +2292     
============================================
  Files           840      928      +88     
  Lines         71755    78519    +6764     
  Branches       8611     9339     +728     
============================================
+ Hits          46099    54860    +8761     
+ Misses        23004    20771    -2233     
- Partials       2652     2888     +236     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Jun 17 '25 17:06 codecov-commenter