mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-26 01:55:48 +02:00
Updated Benchmarking your changes (markdown)
parent
872f0736e5
commit
b72100c455
@ -24,7 +24,7 @@ Run the following commands to create a 'baseline' measurement (i.e., before you
|
||||
$ gulp generic
|
||||
$ gulp components
|
||||
$ cd test
|
||||
$ node test.js --statsFile=stats/results/baseline.json --statsDelay=5000 --manifestFile=benchmark.json
|
||||
$ node test.mjs --statsFile=stats/results/baseline.json --statsDelay=5000 --manifestFile=benchmark.json
|
||||
|
||||
Then apply your changes and create a 'current' measurement (replace `<feature-branch>` with the name of your branch):
|
||||
|
||||
@ -33,7 +33,7 @@ Then apply your changes and create a 'current' measurement (replace `<feature-br
|
||||
$ gulp generic
|
||||
$ gulp components
|
||||
$ cd test
|
||||
$ node test.js --statsFile=stats/results/current.json --statsDelay=5000 --manifestFile=benchmark.json
|
||||
$ node test.mjs --statsFile=stats/results/current.json --statsDelay=5000 --manifestFile=benchmark.json
|
||||
|
||||
Finally, you can compare the measurements and see any performance differences:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user