File: run-perf.sh

package info (click to toggle)
node-lodash 2.4.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,024 kB
  • ctags: 1,590
  • sloc: php: 747; sh: 22; makefile: 14
file content (14 lines) | stat: -rwxr-xr-x 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cd "$(dirname "$0")"

echo "Running performance suite in node..."
node perf.js ../dist/lodash.js && node perf.js ../dist/lodash.min.js

for cmd in rhino "rhino -require" narwhal ringo phantomjs; do
  echo ""
  echo "Running performance suite in $cmd..."
  $cmd perf.js ../dist/lodash.compat.js && $cmd perf.js ../dist/lodash.compat.min.js
done

echo ""
echo "Running performance suite in a browser..."
open index.html