项目作者: active-expressions

项目描述 :
Benchmarking the JavaScript implementation strategies of Active Expressions
高级语言: JavaScript
项目地址: git://github.com/active-expressions/active-expressions-benchmark.git
创建时间: 2016-08-15T09:42:04Z
项目社区:https://github.com/active-expressions/active-expressions-benchmark

开源协议:MIT License

下载


active-expressions-benchmark DOI

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

Installation

Clone this repository

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

Make implementation repositories available

Option 1: Clone implementation repositories

  1. ./cloneImplementations.sh

If you have all implementation repositories checked out in the same parent directory, you can link it as the implementations folder.

  1. 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.

  1. ln -s path/to/repo/ ./implementations/repo

Install the package

  1. npm install

First Steps

  1. # Build benchmarks
  2. ./bench build
  3. # Run benchmarks
  4. ./bench run
  5. # For more usage help
  6. ./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.