-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Downloading performance Metrics #1326
fix: Downloading performance Metrics #1326
Conversation
Timestamp: 2020-11-18 15:51:24 |
272be86
to
f31e885
Compare
@Mergifyio rebase |
Command
|
} | ||
} | ||
.awaitAll() | ||
} | ||
|
||
private fun PerfMetricsSummary.save(resultsDir: String, args: IArgs) { | ||
val configFilePath = if (args.useLocalResultDir()) |
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 is only cosmetic but i think smth like
val configFilePath =
if (args.useLocalResultDir()) Paths.get(args.localResultDir, "performanceMetrics.json")
else Paths.get(args.localResultDir, resultsDir, "performanceMetrics.json")
is little more readable. WDYT?
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.
changed
So in both scenarios |
…r_performanceMetrics' into #1324_fix_downloading_results_for_performanceMetrics
yes |
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.
- Both scenarios tested
Great work! 👍
Codecov Report
@@ Coverage Diff @@
## master #1326 +/- ##
============================================
- Coverage 79.61% 79.58% -0.04%
- Complexity 735 736 +1
============================================
Files 237 237
Lines 4573 4579 +6
Branches 792 796 +4
============================================
+ Hits 3641 3644 +3
+ Misses 526 525 -1
- Partials 406 410 +4 |
Fixes #1324
Test Plan
Scenario A:
performanceMetrics.json
is stored on the local results deviceScenario B:
performanceMetrics.json
is downloaded on the local results deviceChecklist
performanceMetrics.json
by default to local results directory