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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d75b356 · Jun 19, 2024
Nov 30, 2020
Oct 1, 2020
Oct 1, 2020
Nov 27, 2020
Jan 15, 2020
Aug 15, 2016
Jun 19, 2024
Sep 7, 2020
Sep 7, 2020
Nov 27, 2020
Nov 30, 2020
Oct 1, 2020
Aug 25, 2016
Sep 7, 2020
Nov 29, 2020

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.