Performs benchmarking on all JavaScript implementations of active expressions. Results are pushed to the results repository.
git clone https://github.com/active-expressions/active-expressions-benchmark.git
cd active-expressions-benchmark
./cloneImplementations.sh
If you have all implementation repositories checked out in the same parent directory, you can link it as the implementations
folder.
ln -s path/to/real/folder/ ./implementations
If you have the implementations checked out in different parent directories, you can link each checkout individually into the implementations
folder.
ln -s path/to/repo/ ./implementations/repo
npm install
# Build benchmarks
./bench build
# Run benchmarks
./bench run
# For more usage help
./bench --help
Benchmark sources can be found in the src/
directory. Each *.js
file in the directory tree whose sub-path does not contain any item (filename or directory) beginning with _
, -
or containing .
is interpreted as a benchmark.
File | Description |
---|---|
[./bench ] |
Script to interact with benchmarks (build, run, list, etc.). Actual implementation can be found in [./bench.js ]. |
[./configs.js ] |
Config options for all benchmarks. |