Skip to content

Commit

Permalink
test: ml_perf: add ML performance test
Browse files Browse the repository at this point in the history
Add machine learning (ML) performance test application. The
application measures nanoseconds used for various ML operations, such
as creating and desroying a model, loading and unloading a model, and
inferencing.

Signed-off-by: Jere Leppänen <[email protected]>
  • Loading branch information
JereLeppanen committed Nov 13, 2024
1 parent 31cbc84 commit 37b184d
Show file tree
Hide file tree
Showing 3 changed files with 1,072 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/performance/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ odp_l2fwd
odp_l2fwd_perf
odp_lock_perf
odp_mem_perf
odp_ml_perf
odp_packet_gen
odp_pktio_ordered
odp_pktio_perf
Expand Down
5 changes: 5 additions & 0 deletions test/performance/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ if LIBCONFIG
COMPILE_ONLY += odp_ipsecfwd
endif

if WITH_ML
COMPILE_ONLY += odp_ml_perf
odp_ml_perf_SOURCES = odp_ml_perf.c
endif

TESTSCRIPTS = odp_cpu_bench_run.sh \
odp_crypto_run.sh \
odp_dma_perf_run.sh \
Expand Down
Loading

0 comments on commit 37b184d

Please sign in to comment.