js-crc32/misc/perf.sh
SheetJS c79a8fb6c9 version bump 0.2.0: performance
- used Int32Array for storing CRC32 table when possible
- buf/array impl 4-step unrolling
- integration performance tests
2014-06-17 19:20:41 -04:00

19 lines
532 B
Bash
Executable File

#!/bin/bash
cd misc &>/dev/null
git_module() {
if [ ! -e "$1/" ]; then git clone $2; fi
cd "$1"
git pull
cd - &>/dev/null
}
echo "::: downloading modules"
git_module node-crc https://github.com/alexgorbatchev/node-crc 2>/dev/null # crc
git_module crc32 https://github.com/beatgammit/crc32 2>/dev/null # crc32
git_module buffer-crc32 https://github.com/brianloveswords/buffer-crc32 2>/dev/null # buffer-crc32
for i in A B C D E F; do MODE="$i" node integration.js; done
# for i in E F; do MODE="$i" node integration.js; done