bench
MATLAB benchmark
Syntax
Description
measures the execution time of five
different benchmarking tasks
on your computer and compares the results to several benchmark computers. The function:t
= bench
Returns a 1-by-5 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 can change from release to release.
runs each of
the five tasks t
= bench(N
)N
times and returns an N
-by-5 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 typical.