# Benchmark (https://docs.cochl.ai/docs/acoustic-security/axis/benchmark)



The application analyzes one 2-second window every second, so it has a one-second budget per
window. Every supported device finishes well inside it; slower devices simply leave less room for
other applications.

## Processing time per window [#processing-time-per-window]

Measured on our test fleet with a 2.4.1 pre-release build and AXIS OS 12.11.77, while sound was
playing, with no other analytics application running. That build ran the pre-release model
`test-261009`, which takes the same 22,050 Hz input as the model shipped in 2.4.1. Each figure is the time to process one window — feature
extraction and inference together — as the median over 230 to 310 windows per device.

| Device        | SoC            | Runs on                 | Median  | 90th percentile | Share of budget |
| ------------- | -------------- | ----------------------- | ------- | --------------- | --------------- |
| M4347-PLVE    | ARTPEC-9       | Deep-learning processor | 14.4 ms | 18.1 ms         | 1.4%            |
| Q1656         | ARTPEC-8       | Deep-learning processor | 26.7 ms | 27.4 ms         | 2.7%            |
| M4308-PLE     | ARTPEC-7       | Edge TPU                | 31.3 ms | 34.5 ms         | 3.1%            |
| M1075-L       | Ambarella CV25 | CPU                     | 41.7 ms | 46.6 ms         | 4.2%            |
| Q9307-LV      | ARTPEC-8       | Deep-learning processor | 46.8 ms | 48.4 ms         | 4.7%            |
| M5075         | ARTPEC-7       | GPU                     | 64.1 ms | 64.9 ms         | 6.4%            |
| C1310-E Mk II | i.MX 8M Nano   | CPU                     | 70.1 ms | 70.6 ms         | 7.0%            |
| C1410 Mk II   | i.MX 8M Nano   | CPU                     | 71.6 ms | 73.5 ms         | 7.2%            |
| C1511         | i.MX 6SoloX    | CPU                     | 237 ms  | 366 ms          | 24%             |

The number of tags does not change these figures: the model scores every tag in a single pass.
Not every ARTPEC-7 device has an Edge TPU: the M4308-PLE does and the M5075 does not. Where there is
one the application prefers it; the same M4308-PLE on its GPU takes about twice as long (63 ms).

## Budgeting a device [#budgeting-a-device]

* **ARTPEC-7, ARTPEC-8, ARTPEC-9, CV25 and i.MX 8M Nano** use under 8% of the budget and leave
  ample room for other applications.
* **i.MX 6SoloX** devices are single-core and use about a quarter of the budget, with occasional windows taking
  up to two-thirds of a second. Running a second analytics application on them is not recommended
  without measuring the two together.

When combining applications on one device, measure the pair together rather than adding the
individual figures — two inference workloads on one processor contend in ways the separate numbers
do not predict.
