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

Issue 2731703003: A/B fasta performance measurement harness (Closed)

Created:
3 years, 9 months ago by danrubel
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

A/B fasta performance measurement harness Given two separate Dart SDK repo clones, A and B, this pkg/front_end/tool/fasta/abcompile.dart harness alternately runs <A>/pkg/front_end/tool/fasta/compile.dart then <B>/pkg/front_end/tool/fasta/compile.dart so that a performance comparison can be made of the difference between fasta in A vs B. For example, from the <A> root directory: xcodebuild/ReleaseX64/dart -DbRoot=/path/to/2nd/dart/sdk/repo -Diterations=15 pkg/front_end/tool/fasta/abcompile.dart --compile-sdk=xcodebuild/ReleaseX64/patched_sdk/ pkg/compiler/lib/src/dart2js.dart --verbose The output contains the raw data along with a summary of the average difference, and is formatted in a way that can be easily pasted into Google Sheets for further analysis. Future improvements to this include: * Add JSON output to pkg/front_end/tool/fasta/compile.dart so that abcompile.dart is not text scraping the numbers * Adjust pkg/front_end/tool/fasta/compile.dart so that --verbose is not needed to capture the needed numbers and progress * tweak the A/B summary section to paste more easily into Google Sheets R=paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/82685eacbff955f3b027e028c9b2450dd44720ac

Patch Set 1 #

Total comments: 7

Patch Set 2 : address comments #

Patch Set 3 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -2 lines) Patch
A pkg/front_end/tool/fasta/abcompile.dart View 1 1 chunk +160 lines, -0 lines 0 comments Download
M pkg/front_end/tool/fasta/compile.dart View 1 chunk +39 lines, -2 lines 0 comments Download
A pkg/front_end/tool/fasta/standard_deviation.dart View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
danrubel
3 years, 9 months ago (2017-03-03 16:56:11 UTC) #2
Paul Berry
lgtm https://codereview.chromium.org/2731703003/diff/1/pkg/front_end/tool/fasta/abcompile.dart File pkg/front_end/tool/fasta/abcompile.dart (right): https://codereview.chromium.org/2731703003/diff/1/pkg/front_end/tool/fasta/abcompile.dart#newcode82 pkg/front_end/tool/fasta/abcompile.dart:82: print('Standard Deviation of the Mean:'); Let's not confuse ...
3 years, 9 months ago (2017-03-03 18:08:53 UTC) #3
danrubel
https://codereview.chromium.org/2731703003/diff/1/pkg/front_end/tool/fasta/abcompile.dart File pkg/front_end/tool/fasta/abcompile.dart (right): https://codereview.chromium.org/2731703003/diff/1/pkg/front_end/tool/fasta/abcompile.dart#newcode82 pkg/front_end/tool/fasta/abcompile.dart:82: print('Standard Deviation of the Mean:'); On 2017/03/03 18:08:53, Paul ...
3 years, 9 months ago (2017-03-03 22:46:56 UTC) #4
Paul Berry
lgtm
3 years, 9 months ago (2017-03-06 14:09:51 UTC) #5
danrubel
Committed patchset #3 (id:40001) manually as 82685eacbff955f3b027e028c9b2450dd44720ac (presubmit successful).
3 years, 9 months ago (2017-03-06 15:09:54 UTC) #7
Vyacheslav Egorov (Google)
This commit has broken pkg/front_end/test/fasta/bootstrap_test test: FAILED: none-vm-checked release_x64 pkg/front_end/test/fasta/bootstrap_test Expected: Pass Slow Actual: RuntimeError ...
3 years, 9 months ago (2017-03-06 15:32:53 UTC) #9
danrubel
3 years, 9 months ago (2017-03-06 19:33:16 UTC) #10
Message was sent while issue was closed.
On 2017/03/06 15:32:53, Vyacheslav Egorov (Google) wrote:
> This commit has broken pkg/front_end/test/fasta/bootstrap_test test

Fixed https://codereview.chromium.org/2734863003/

Powered by Google App Engine
This is Rietveld 408576698