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 a simple PinotFS benchmark driver #5160
Conversation
This benchmark tests the performance of pinotFS operations.
|
Codecov Report
@@ Coverage Diff @@
## master #5160 +/- ##
=============================================
- Coverage 66.02% 44.93% -21.10%
=============================================
Files 1050 1052 +2
Lines 54117 54170 +53
Branches 8071 8078 +7
=============================================
- Hits 35729 24339 -11390
- Misses 15734 27732 +11998
+ Partials 2654 2099 -555 Continue to review full report at Codecov.
|
pinot-tools/src/main/java/org/apache/pinot/tools/filesystem/PinotFSBenchmarkDriver.java
Outdated
Show resolved
Hide resolved
pinot-tools/src/main/java/org/apache/pinot/tools/filesystem/PinotFSBenchmarkDriver.java
Outdated
Show resolved
Hide resolved
|
||
private static final int DEFAULT_NUM_SEGMENTS_FOR_LIST_TEST = 1000; | ||
private static final int DEFAULT_DATA_SIZE_IN_MB_FOR_COPY_TEST = 1024; // 1GB | ||
private static final int DEFAULT_RETRY = 5; // 5 |
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.
This does not seem to be retry count (I was associating the term retry with failures). DEFAULT_NUM_OPS?
pinot-tools/src/main/java/org/apache/pinot/tools/filesystem/PinotFSBenchmarkDriver.java
Outdated
Show resolved
Hide resolved
pinot-tools/src/main/java/org/apache/pinot/tools/filesystem/PinotFSBenchmarkDriver.java
Outdated
Show resolved
Hide resolved
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.
lgtm,
it may be better to add the other defaiults in arguments as well (num ops and num directories for file list)
fd80bac
to
ca924cf
Compare
This benchmark tests the performance of pinotFS operations.