APrioriInvestments / typed_python

An llvm-based framework for generating and calling into high-performance native code from Python.
Apache License 2.0
198 stars 8 forks source link

Config and proof-of-concept benchmarks with airspeed #443

Open wllgrnt opened 1 year ago

wllgrnt commented 1 year ago

Motivation and Context

Airspeed (https://asv.readthedocs.io/en/stable/) is used by SciPy, NumPy etc to track the performance of each commit and catch perf regressions. They host their results online (https://pv.github.io/numpy-bench/) and run as part of the CI process but out of the box airspeed lets you serve a local html file.

This PR contains config and a basic set of benchmarks which, when run on the last 20 dev commits, generate the following: image

(This is mostly for demo/discussion purposes, I could modify lots of our existing pytest suite to get more useful tracking and also look at remote hosting for the HTML if this is something we think would be useful.)

Types of changes

Checklist: