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

Side by Side Diff: test/perf.sh

Issue 11683002: Setting up benchmarks and perf utilities (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: john comments Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pubspec.yaml ('k') | test/perf/compare.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file.
5
6 # bail on error
7 set -e
8 TEST_DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
9 PERF_DIR="$TEST_DIR/perf"
10 WEB_UI_HOME=$(dirname $TEST_DIR)
11 DART_FLAGS="--checked"
12 TEST_PATTERN=$1
13
14 if [[ ! -e $PERF_DIR/input/example ]]; then
15 ln -s $WEB_UI_HOME/example/ $PERF_DIR/input/example
16 fi
17
18
19 pushd $PERF_DIR
20 dart $DART_FLAGS perf.dart $TEST_PATTERN
21 popd
OLDNEW
« no previous file with comments | « pubspec.yaml ('k') | test/perf/compare.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698