Benchmark is a modification of BENCH, a routine developed by Stephen Lord and Cleve Moler, both at MathWorks Inc., to time six different Matlab tasks.
These times can be used to check Matlab performance on different computers or over time. Comparison between different versions should be done carefully as the tasks may change from version to version. This may still be useful to discover changes in software. A bar chart shows the performance relative to other computers stored in a database, bench.dat, which is maintained by Stephen Lord. Both bench.m and bench.dat are located in the file exchange as well as in the folder $matlabroot\toobox\matlab\demos.
Differences from BENCH.M:
Output includes the mean and standard deviations of the measurement times.
The mean values are used in the display of results.
Speed performance is rated in percent versus the fastest machine.
The tests can be individually selected.
The bar graph compares the sum of times of the selected tests only. This may change the relative order of machines.
The execution count is displayed during the test.
The first execution time is routinely dropped in the results as it may be affected by compile times.
Minor improvements in figure handling and labelling.
This version adds flexibility to handle format changes to the currently released bench.dat. This program should still be able to read former versions of bench.dat with the caveat that the data in older files might not be comparable to current benchmarks.
The bargraph now indicates in red a 2 standard deviation width calculated from the results.