Files
angular.js/test-perf.sh
Igor Minar e3ddc2bcc4 simple perf testing harness with JSON parsing tests
- 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.
2010-12-22 14:16:36 -08:00

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