Skip to content

Commit 1daffd3

Browse files
committed
*: update README.md for taco benchmark instructions
1 parent b38160f commit 1daffd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
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`.
44

55
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

Comments
 (0)