This benchmarking tool can be used to run a collection of benchmarks and render the results into a table.
The example below measures the computational performance of a browser calculating the Lennard-Jones Potential 1,000,000 times. First calculating the value and pushing the result into an array. The second test pre-calculates the 1,000,000 values and only measures the time it takes to read values from the pre-calculated array and store them into the result array.
Update 20200113: very suprising results: Chrome is about 9 times slower calculating the Lennard-Jones Potential than FireFox and Safari!
browser | version | cpu/os | date | Lennard-Jones, 1,000,000 iterations (ms) | Lennard-Jones transferring from pre-calculated array, 1,000,000 iterations (ms) |
---|---|---|---|---|---|
Safari | 13.0.4 | Intel Mac OS X 10_15_2 | 2020-01-13 23:30 | 18 | 10 |
Firefox | 72.0 | Intel Mac OS X 10.15 | 2020-01-13 23:29 | 20 | 13 |
Chrome | 79.0.3945.88 | Intel Mac OS X 10_15_2 | 2020-01-13 23:37 | 179 | 26 |