Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
chore: move perf tests to benchmark directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery authored and [email protected] committed Apr 25, 2014
1 parent b2b8dfd commit 873a0b0
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion perf/invoke_perf.dart → benchmark/invoke_perf.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library angular.perf.invoke;
library angular.benchmarks.invoke;

import 'package:benchmark_harness/benchmark_harness.dart';

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library angular.perf.watch_group;
library angular.benchmarks.watch_group;

import '_perf.dart';
import 'package:angular/change_detection/dirty_checking_change_detector.dart';
Expand Down
4 changes: 2 additions & 2 deletions karma-perf.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = function(config) {
// all tests must be 'included', but all other libraries must be 'served' and
// optionally 'watched' only.
files: [
'perf/dom/*.dart',
'perf/*_perf.dart',
'benchmark/dom/*.dart',
'benchmark/*_perf.dart',
'test/config/filter_tests.dart',
{pattern: '**/*.dart', watched: true, included: false, served: true},
'packages/browser/dart.js',
Expand Down
2 changes: 1 addition & 1 deletion scripts/analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $DARTANALYZER --version
echo // generated file > $OUT

for FILE in $(ls lib/angular.dart \
perf/*_perf.dart \
benchmarks/*_perf.dart \
test/*_spec.dart \
test/*/*_spec.dart \
lib/change_detection/change_detection.dart \
Expand Down
3 changes: 3 additions & 0 deletions scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export CHROME_BIN=${CHROME_BIN:-"google-chrome"}
export PATH=$PATH:$DARTSDK/bin

export NGDART_SCRIPT_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
if [ -n $NGDART_SCRIPT_DIR ]; then
export NGDART_SCRIPT_DIR=./scripts
fi
export NGDART_BASE_DIR=$(dirname $NGDART_SCRIPT_DIR)

echo '*********'
Expand Down
8 changes: 4 additions & 4 deletions scripts/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ else
$NGDART_SCRIPT_DIR/changelog/;

(
echo '----------------'
echo '-- TEST: perf --'
echo '----------------'
cd $NGDART_BASE_DIR/perf
echo '---------------------'
echo '-- TEST: benchmark --'
echo '---------------------'
cd $NGDART_BASE_DIR/benchmark
$PUB install

for file in *_perf.dart; do
Expand Down

0 comments on commit 873a0b0

Please sign in to comment.