|
Implement a better dashboard for running benchmarks
- Provide a 'Run' button instead of running on page reload
- Display median samples from saved report as a baseline for comparison.
- Provide a menu for choosing the saved report.
- Display the median, max, and number of samples gathered.
Also:
- Simplified the JSON benchmark a bit.
- Increase the default number of samples and decrease their duration.
- Collect one sample from each benchmark in each loop (round-robin).
This was to try to reduce the amount of varation between runs.
It seems to have helped somewhat, but benchmark results can still
vary by up to about 20% when opening a new tab.
BUG=
R=sgjesse@google.com
Committed: https://github.com/dart-lang/dart-protoc-plugin/commit/3c227864999d1a9700c8623fb7d5f28dad782387
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+625 lines, -229 lines) |
Patch |
|
M |
benchmark/data/index.dart
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
benchmark/data/skybrian-macbookpro/0.4.2/json_chrome.pb.json
|
View
|
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
benchmark/data/skybrian-macbookpro/0.4.2/json_vm.pb.json
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
M |
benchmark/lib/benchmark.dart
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
benchmark/lib/dashboard.dart
|
View
|
|
1 chunk |
+118 lines, -0 lines |
0 comments
|
Download
|
|
A |
benchmark/lib/dashboard_model.dart
|
View
|
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
|
A |
benchmark/lib/dashboard_view.dart
|
View
|
|
1 chunk |
+272 lines, -0 lines |
2 comments
|
Download
|
|
D |
benchmark/lib/html_view.dart
|
View
|
|
1 chunk |
+0 lines, -197 lines |
0 comments
|
Download
|
|
M |
benchmark/lib/suite.dart
|
View
|
|
1 chunk |
+20 lines, -12 lines |
0 comments
|
Download
|
|
M |
benchmark/lib/suites/json.dart
|
View
|
|
1 chunk |
+6 lines, -13 lines |
0 comments
|
Download
|
|
M |
benchmark/readints.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
benchmark/readints.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|