- Automated opening a test page, reading/detecting performance metrics
- Calculate means and standard deviations of collected metric results
- Node.js and npm (npm is distributed with Node.js)
- Clone the Git repository.
git clone [email protected]:katzhang-ias/tm-performance-tester.git
cd
into thetm-performance-tester
directory. Install Puppeteer.
npm i puppeteer
- Run testing script.
npm start [n] [url]
Optionally pass number of times you want to run and the test page URL. Default number is 1 and test page is in the code. Result should be displayed in your terminal.