Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Issue 11683002: Setting up benchmarks and perf utilities (Closed)

Created:
7 years, 12 months ago by Siggi Cherem (dart-lang)
Modified:
7 years, 11 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/web-ui.git@master
Visibility:
Public.

Description

This change introduces: * Benchmark and AsyncBenchmark base classes: the former is practically BenchmarkBase from benchmark_harness with some modifications. Eventually we should unify the two. * perf utilities: a perf test runner that runs our tests in DRT (dart + js) and writes results in a json file, an update utility script to update results, and a comparison script that shows the difference between two sets of results. * 25 benchmarks Committed: https://github.com/dart-lang/web-ui/commit/98ef8ec

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : pull benchmark_harness from pub #

Patch Set 7 : #

Total comments: 42

Patch Set 8 : john comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2335 lines, -56 lines) Patch
M pubspec.yaml View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
A test/perf.sh View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
A test/perf/compare.dart View 1 2 3 4 5 6 7 1 chunk +193 lines, -0 lines 0 comments Download
A test/perf/input/async_benchmark.dart View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
A test/perf/input/bindings_100_test.html View 1 2 3 4 5 1 chunk +165 lines, -0 lines 0 comments Download
A test/perf/input/bindings_10_test.html View 1 2 3 4 5 1 chunk +57 lines, -0 lines 0 comments Download
A test/perf/input/bindings_test.html View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A test/perf/input/class_binding_test.html View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A test/perf/input/create_100_test.html View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
A test/perf/input/create_10_test.html View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A test/perf/input/create_1_test.html View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A test/perf/input/empty_test.html View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A test/perf/input/if_100_mod100_test.html View 1 2 3 4 5 1 chunk +165 lines, -0 lines 0 comments Download
A test/perf/input/if_100_mod2_test.html View 1 2 3 4 5 1 chunk +163 lines, -0 lines 0 comments Download
A test/perf/input/if_10_mod100_test.html View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A test/perf/input/if_10_mod2_test.html View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A test/perf/input/if_1_mod100_test.html View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A test/perf/input/if_1_mod2_test.html View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A test/perf/input/loop_100_10_test.html View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
A test/perf/input/loop_100_2_test.html View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
A test/perf/input/loop_10_10_test.html View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
A test/perf/input/loop_10_2_test.html View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A test/perf/input/loop_1_100_test.html View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
A test/perf/input/loop_1_10_test.html View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A test/perf/input/loop_1_2_test.html View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A test/perf/input/perf_common.dart View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A + test/perf/input/start_dart.js View 1 chunk +3 lines, -4 lines 0 comments Download
A + test/perf/input/testing.js View 1 chunk +3 lines, -9 lines 0 comments Download
A + test/perf/input/todomvc2_test.html View 1 2 3 4 5 2 chunks +29 lines, -6 lines 0 comments Download
A + test/perf/input/todomvc3_test.html View 1 2 3 4 5 2 chunks +29 lines, -6 lines 0 comments Download
A + test/perf/input/todomvc_async_test.html View 1 2 3 4 5 6 7 3 chunks +46 lines, -24 lines 0 comments Download
A test/perf/input/todomvc_common.dart View 1 chunk +34 lines, -0 lines 0 comments Download
A + test/perf/input/todomvc_test.html View 1 2 3 4 5 2 chunks +28 lines, -6 lines 0 comments Download
A test/perf/perf.dart View 1 2 3 4 5 6 7 1 chunk +110 lines, -0 lines 0 comments Download
A test/perf/update_json.dart View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Siggi Cherem (dart-lang)
7 years, 12 months ago (2012-12-28 02:11:12 UTC) #1
Siggi Cherem (dart-lang)
FYI - I updated the CL to use the BenchmarkBase from the benchmark_harness pub package.
7 years, 11 months ago (2013-01-03 23:33:49 UTC) #2
Jennifer Messerly
This is so cool. Real benchmarks. Love it! https://chromiumcodereview.appspot.com/11683002/diff/13001/test/perf/compare.dart File test/perf/compare.dart (right): https://chromiumcodereview.appspot.com/11683002/diff/13001/test/perf/compare.dart#newcode9 test/perf/compare.dart:9: */ ...
7 years, 11 months ago (2013-01-07 21:07:46 UTC) #3
Siggi Cherem (dart-lang)
ptal https://chromiumcodereview.appspot.com/11683002/diff/13001/test/perf/compare.dart File test/perf/compare.dart (right): https://chromiumcodereview.appspot.com/11683002/diff/13001/test/perf/compare.dart#newcode9 test/perf/compare.dart:9: */ On 2013/01/07 21:07:46, John Messerly wrote: > ...
7 years, 11 months ago (2013-01-08 02:26:18 UTC) #4
Jennifer Messerly
7 years, 11 months ago (2013-01-08 02:42:41 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698