Giter Club home page Giter Club logo

jsenco's Introduction

JS ENgines COmparator

Run code on different JS engines and compare. Following data is available for comparison:

  • benchmark score
  • execution time *
  • CPU usage *
  • Memory usage *

* for single and bencmark passes


Usage with Docker

  1. Build image manually or pull it docker pull rv4flyver/jsenco
  2. Place test files in test folder (for test examples see https://github.com/rv4Flyver/jsenco/tree/master/tests)
  3. Run it with following command with optional params (see Parameters section):
docker run -it -p 3333:3333 \
  -v "$(pwd)"/tests:/jsenco/tests \
  -v "$(pwd)"/results:/jsenco/results/data \
  rv4flyver/jsenco
  1. Open http://localhost:3333 to view results after all tests completed.

Usage w/o docker

  1. Install JSVU
  2. Install V8, SM and JSC
  3. Execute npm start with optional params (see Parameters section)
  4. To see test results execute npm start view (you need http-server package installed globally)
  5. All results are available in results/data/

Parameters

Optional params can be passed to command like:

COMMAND "ENGINES PARAMS" "VIEWER PARAMS"

ENGINES PARAMS

can be a comma separated list of engines you want to runt tests on:

"V8,SM,JSC"  

or to skip testing at all and proceed to viewer immediately

"NONE" 

VIEWER PARAMS

It is possible to skip running viewer at the end of thesting by passing following param after "ENGINES PARAMS":

"SKIP_VIEWER"

Examples

npm start "V8,SM,JSC" "SKIP_VIEWER". 

npm start "NONE"  

docker run -it -p 3333:3333 \
  -v "$(pwd)"/tests:/jsenco/tests \
  -v "$(pwd)"/results:/jsenco/results/data \
  rv4-js-eng-opt-comparator_jsenco "NONE"

LINKS

V8 Benchmark Suite

http://www.netchain.com/Tools/v8/

Dromaeo

JSDoc and TSDoc

jsenco's People

Contributors

mchaliadzinau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.