This is a repository for measuring loading time of Chromium on Raspberry Pi 4. Complete writeup is available here.
Follow the tutorial above on how to create and prepare the RAM disk.
Install the required dependencies
npm install puppeteerRun the script with the desired number of test runs. Provide the admin password when prompted.
node benchmark.js --runs 100Results will be stored into bench.json. Chromium launch path can be modified by tweaking executablePath parameter within benchmark.js.
Copyright (C) 2019 Cristian Dobre