Skip to content

Benchmarking the JavaScript implementation strategies of Active Expressions

License

Notifications You must be signed in to change notification settings

active-expressions/active-expressions-benchmark

Repository files navigation

active-expressions-benchmark DOI

Performs benchmarking on all JavaScript implementations of active expressions. Results are pushed to the results repository.

Installation

Clone this repository

git clone https://github.com/active-expressions/active-expressions-benchmark.git
cd active-expressions-benchmark

Make implementation repositories available

Option 1: Clone implementation repositories

./cloneImplementations.sh

Option 2: Link implementations directory

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

Option 3: Link individual implementation repositories

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

Install the package

npm install

First Steps

# Build benchmarks
./bench build
# Run benchmarks
./bench run
# For more usage help
./bench --help

General

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.

Important files

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.

About

Benchmarking the JavaScript implementation strategies of Active Expressions

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •