From 09c67ecf045225e855045932e3e9f76f590204a9 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Tue, 17 Jun 2014 19:11:30 -0700 Subject: [PATCH] Updated Benchmarking your changes (markdown) --- Benchmarking-your-changes.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Benchmarking-your-changes.md b/Benchmarking-your-changes.md index ed52ba1..2f13c6c 100644 --- a/Benchmarking-your-changes.md +++ b/Benchmarking-your-changes.md @@ -14,12 +14,16 @@ When working on issues related to performance, it is important to provide a perf Run the following command to create a 'baseline' measurement (before you make your changes): - cd test - node test.js --browserManifestFile=resources/browser_manifests/browser_manifest.json --statsFile=stats/results/baseline.json --statsDelay=5000 --manifestFile=my_pdfs.json + $ cd test + $ node test.js --browserManifestFile=resources/browser_manifests/browser_manifest.json \ + --statsFile=stats/results/baseline.json --statsDelay=5000 \ + --manifestFile=my_pdfs.json Then apply your changes and create a 'current' measurement: - node test.js --browserManifestFile=resources/browser_manifests/browser_manifest.json --statsFile=stats/results/current.json --statsFile=base.json --statsDelay=5000 --manifestFile=my_pdfs.json + $ node test.js --browserManifestFile=resources/browser_manifests/browser_manifest.json \ + --statsFile=stats/results/current.json --statsDelay=5000 \ + --manifestFile=my_pdfs.json Now you can compare the measurements and see any performance differences: