Skip to content

candeiasalexandre/pytest-benchmark-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example using pytest-benchmark for torch models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published