You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,5 @@
3
3
Create a virtualenv (`python3 -m venv venv`) and activate it. Install requirements with `pip install -r requirements.txt`. Add benchmarks as python functions prefixed with `test_` and have the function take in the `benchmark` fixture. An example is in `numpy/windowing.py`.
4
4
5
5
To run the benchmarks, use `make python-bench` to run all `python` benchmarks. Use the `BENCHES` flag to choose a particular set of benchmarks to run.
6
+
7
+
To write C++ benchmarks, we use the `google/benchmark` repository. Look at the example of `taco/windowing.cpp` for an example benchmark. Run `make taco-bench` to compile the `taco` benchmarks.
0 commit comments