Skip to main content

Performance & benchmarks

Measure the part of the application you intend to improve. A model-call latency, a video pipeline's completed-frame rate and an accuracy score answer different questions; none can replace the others.

Measurement scope​

MetricIncludesDoes not establish
Inference-call latencyWall-clock time around synchronous session.run, including runtime overhead and supported CPU fallbackCamera or video FPS, preprocessing cost, model accuracy
Application throughputCompleted frames from input decoding through application processingA hardware-only NPU execution time
System CPU busyActivity across all four CPU cores during the measurement intervalPower consumption or attribution to one process
AccuracyTask metrics against labeled validation dataLatency or sustained throughput

The results below come from one V1.1.0 development installation running Linux 6.12.35 and TI ONNX Runtime 1.23.0 with TIDL 11_02_17_00. They are observations, not guaranteed performance limits. The version map records the subsequent read-only stack inventory; it is not a pristine-image manifest, and it does not retroactively add unrecorded package versions to the original timing data.

Reproduce inference-call timing​

Download benchmark-inference.py to the board (the maintained copy and the raw result records are in the mo-models repository). Stop other inference applications first, then run:

sudo python3 benchmark-inference.py \
/opt/model_zoo/ONR-OD-8200-yolox-nano-lite-mmdet-coco-416x416 \
--warmup 5 --runs 100 --output nano.json

Repeat with ONR-OD-8220-yolox-s-lite-mmdet-coco-640x640 and a new output path such as small.json. The script refuses to overwrite an existing result.

It creates a TIDL session with graph optimization disabled, allocates correctly shaped all-zero input, warms up, and measures 100 synchronous calls with a monotonic clock. Session creation and input allocation are outside the timed region. It checks that outputs are finite, then saves every sample, the model checksum, runtime version, CPU frequency and thermal readings.

Blank input is deliberately a timing-only test. It is not representative calibration data and does not demonstrate detection accuracy. Inspect the runtime's offload report: these two tests each reported 329/329 nodes in one TIDL subgraph. Merely requesting the provider does not guarantee that an arbitrary network is fully offloaded.

ModelInputMeanMedianp95
YOLOX-nano-lite (8200)416 × 41610.900 ms10.902 ms10.980 ms
YOLOX-S-Lite (8220)640 × 64040.402 ms40.406 ms40.530 ms
Live Mo62A measurements of 100 inference calls after five warm-up calls for YOLOX-nano-lite and YOLOX-S-Lite

CPU frequency was 1.4 GHz at both boundaries; the sampled thermal zones ranged approximately 52–57 °C across these runs. Frequency samples at the boundaries do not prove that it never changed inside the interval. An earlier nano run averaged 10.523 ms; repeated measurements vary, so do not treat the last decimal as a product specification.

Download the complete results: nano JSON and small JSON. No screen capture occurred inside the timed loop; the terminal was captured after both commands finished.

Video application comparison​

The first NPU demo separately compared the C/C++ and Python backends using the same road video, 8220 model and configuration. Each run discarded 600 completed frames, then measured 600; three runs per backend were interleaved.

BackendCompleted-frame rateSystem CPU busyMean inference-call time
C/C++21.70 fps31.42%41.46 ms
Python17.86 fps31.25%41.51 ms

These measurements used the development board's hardware-decoding fixes described in that tutorial. They are not a claim about an unmodified image or a general ranking of the two languages. Both backends use TIDL; preprocessing, postprocessing and scheduling differ around the runtime call.

Actual Mo62A HDMI output of the YOLOX-S-Lite road-video application; this separate screenshot is not the timed measurement interval

The six-run comparison data records the input checksum, configuration, CPU accounting and temperatures. That experiment recorded approximately 76–85 °C, so it must not be conflated with the shorter, cooler timing runs above. No power measurement was taken.

Newly compiled warehouse application​

The warehouse tutorial uses a newly calibrated YOLOX-tiny-lite 8210 bundle, not either supplied model above. Three consecutive offline runs processed the same 611-frame, 1280 × 720 clip with one TIDL subgraph and 326/326 nodes offloaded. There was no warm-up discard; the first call is included. These are short repeatability checks, not endurance or labeled accuracy tests.

RunElapsedProcessing rateMean callp95 call
177.620 s7.872 fps17.616 ms17.987 ms
278.119 s7.821 fps17.608 ms17.998 ms
377.451 s7.889 fps17.622 ms18.022 ms

The timer covers input checksum calculation, OpenCV software decoding, preprocessing, inference, zone rules, rendering and MJPEG/file output, excluding session creation. No screen capture or large-file transfer ran during these timed loops. The source/output timeline is 30 fps; it is not the measured processing rate. The 17.6 ms call is not a hardware-only accelerator timer.

All three runs produced identical per-frame detections and states, with events at 7.367 s and 8.667 s of source time. The original 8200 baseline passed before and after, with the same boot and remote processor running. Thermal readings at those checks were approximately 54–55 °C, not continuous temperature monitoring. No power data was collected. The model visibly misses small/occluded people; output consistency is not a recall or mAP result.

Download the three-run summaries, host/target checks and agreement record, all 611 first-run frame records and event CSV. Result media and complete source/input licensing are on the tutorial page.

Make a fair comparison​

Keep the board, image, model bytes, artifacts, input, resolution and threshold fixed. Record warm-up, run length, background applications, cooling, clock policy and the exact timer boundaries. Alternate test order and report individual runs as well as a summary. Avoid recording or transferring screenshots during a timed interval.

Do not convert 1000 / latency_ms into claimed end-to-end video FPS: it ignores the rest of the pipeline. Do not compare the all-zero timing input with a published accuracy benchmark, and do not infer energy efficiency from CPU utilization.

For accuracy, use labeled data that represents the intended deployment and compare the same preprocessing, class mapping and postprocessing before and after quantization. For power, measure at a stated electrical boundary with a suitable meter and record what peripherals are included.

TI cross-check​

The AM62A performance guide describes SDK performance tools. TI's AM62A E2E answer distinguishes core/resource utilization from AI performance. These references explain measurement boundaries; they are not the source of the Mo62A numbers above.

The downloadable timing script is retained unchanged with its original JSON measurements. The separate Python smoke test follows the newer wrapper's explicit I/O-validation settings; do not silently treat two different scripts as the same benchmark configuration.

Source: inhandnet/mo-docs · 7ba0dc46