Updated Benchmarking your changes (markdown)

Jonas Jenwald 2023-12-15 09:42:57 +01:00
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: