bench_run
Run benchmarks
📝Syntax
status = bench_run()
status = bench_run(targets)
status = bench_run(targets, Name, Value)
📥Input Arguments
Parameter Description
targets module name, module names, benchmark file, or benchmark files.
Name, Value options accepted by nelson.unittest.run.
📤Output Arguments
Parameter Description
status logical: true when all selected benchmarks succeed.
📄Description

bench_run discovers and executes only 'bench_*.m' files.

Benchmarks always run in child processes. One benchmark process is used with up to eight available threads; two benchmark processes are used when more than eight threads are available.

Use nelson.unittest.run with Kind set to bench to obtain structured results.

💡Examples
bench_run('string')
🔗See Also
test_runnelson.unittest.run
Edit this page on GitHub