mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-13 08:59:54 +08:00
- all tests should be under perf/ - all payloads should be under perf/data - run tests with ./server.sh + ./test-perf.sh We still lack a way to compare results against a baseline, but this is better than nothing.
14 lines
225 B
Bash
Executable File
14 lines
225 B
Bash
Executable File
#!/bin/sh
|
|
tests=$1
|
|
norecompile=$2
|
|
|
|
if [[ $tests = "" ]]; then
|
|
tests="all"
|
|
fi
|
|
|
|
if [[ $norecompile = "" ]]; then
|
|
rake compile
|
|
fi
|
|
|
|
java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" --config jsTestDriver-perf.conf
|