matlab.perftest.TimeExperiment - Interface for measuring execution time of code under test - MATLAB (original) (raw)

Main Content

Namespace: matlab.perftest

Interface for measuring execution time of code under test

Description

The matlab.perftest.TimeExperiment class is the principal interface for measuring the execution time of code under test. The performance testing framework runs a test suite and returns a matlab.unittest.measurement.MeasurementResult object for each element of the suite. For each test suite element, the testing framework collects multiple measurements and reports them in the corresponding MeasurementResult.

Construction

Instantiate a TimeExperiment object using one of its static methods.

Methods

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

Version History

Introduced in R2016a