In this project, you can compare the speed of matrix multiplication (multiplication of an N x K matrix by K x M) in the TFJS and ONNXRuntime Web libraries.
Each benchmark is first run Warmup times, and then the mean time and spread over Count runs are measured.
You can run benchmarks on your device on this page
To run a benchmark:
- Set the parameters on the page
- Click on the button of the corresponding benchmark
- After running the benchmark, results will be at the bottom of the page
For installation dependencies run in project root
npm i
For start project local run in project root
npm run start