MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

sampleSummary(results)


ans =


4×7 table


Name SampleSize Mean StandardDeviation Min Median Max




PreallocationTest/testOnes 4 2.8644e-05 7.5098e-07 2.7967e-05 2.8513e-05 2.9583e-05
PreallocationTest/testIndexingWithVariable 4 0.00042645 3.877e-06 0.00042382 0.00042492 0.00043212
PreallocationTest/testIndexingOnLHS 4 4.2269e-05 2.5913e-07 4.1886e-05 4.2367e-05 4.2457e-05
PreallocationTest/testForLoop 4 0.008932 0.00023528 0.0087702 0.008839 0.0092799


See Also


matlab.perftest.TestCase.keepMeasuring | runperf


Related Examples



  • “Overview of Performance Testing Framework” on page 33-178

  • “Test Performance Using Classes” on page 33-189


See Also
Free download pdf