Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 1.23 KB

core_benchmarks.md

File metadata and controls

26 lines (18 loc) · 1.23 KB

How to: Running core benchmarks on Node.js CI

Current function

The current jenkins job aims at allowing the impact of a PR on a particular branch to be compared. For example how does PR XXXX impact performance on master?

How to configure the job

To start with visit https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/build?delay=0sec Here you have four values to enter:

BRANCH

This is which branch or tag to compare to, defaults to master

PULL_ID

Pull request to test These two variables provide the two copies of Node.js to compare - we build BRANCH, then take a copy and apply the diff of PULL_ID, and build again. We now have two copies of Node to compare

CATEGORY

This is a category of benchmarks in the node/benchmark folder from core

FILTER

This reduces further the benchmarks in scope and is includes benchmark where FILTER exists in the filename.

RUNS

This changes the number of runs per benchmark to be run, the default is 30 if this value is left empty.

On running, a minimum of 30 iterations of each benchmark/variation will be run per build (unless RUNS is defined), once they have all finished Rscript will summarise the results, suggesting improvement / regression as well as confidence intervals.