Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.
/ jsperf Public archive

Run jsperf.com tests locally with your NodeJS version

License

Notifications You must be signed in to change notification settings

OrKoN/jsperf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 29, 2016
e142dd6 · Apr 29, 2016

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSPerf for NodeJS

Version Build Status Downloads Dependencies

This command line utility helps you run performance tests from http://jsperf.com locally with NodeJS.

Installation

npm install jsperf -g

Warning

The tool runs the code fetched from jsperf.com w/o any processing. This can be very dangerous. Review the tests before running or use disposable sandboxes

This also means that browser-dependant tests will not run (at least with the current version). Fetch only pure JS tests.

Usage

Create a folder for your local tests:

mkdir my-jsperf-tests

Initialize your tests:

cd my-jsperf-tests
jsperf init

Get a test:

jsperf get <test-slug> <revision>

For instance:

jsperf get replace-vs-split-join-vs-replaceall 67

Preview a test:

jsperf preview replace-vs-split-join-vs-replaceall 67

Run a test:

jsperf run replace-vs-split-join-vs-replaceall 67

Results:

jsperf results

License

LICENSE

About

Run jsperf.com tests locally with your NodeJS version

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published