Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 544 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 544 Bytes

pytest-benchmark-example

This repo contains an example using pytest-benchmark to measure the latency of a simple torch model.

It was created as a companion for my blogpost Benchmarking Model Latency.

instructions

  1. make setup-env
  2. make simple-benchmark to run the first example discussed in the blogpost
  3. make parametrized-benchmark to run the parametrized example and generate a .svg histogram