bench
MATLAB benchmark
Syntax
Description
t = bench
measures the execution time of six different benchmarking tasks
on your computer and compares the results to several benchmark computers. The function:
Returns a 1-by-6 vector with the measured execution times
Displays execution times for the benchmark computers
Creates a bar graph that ranks the computers based on their speed
Note
A benchmark is intended to compare the performance of one particular MATLAB® release on different computers. It does not offer direct comparisons between different MATLAB releases because tasks and problem sizes change from release to release.
t = bench(
runs each of the six tasks
N
)N
times and returns an N
-by-6 array with the
execution times. If N
is zero, the function does not run any of the tasks
on your computer, but instead displays the execution times for other computers and compares
their speeds.
Fluctuations of 5–10% in the measured times of repeated runs on a single computer are normal.