For the website:
For the benchmark:
- Bazel 9
- C++ compiler that supports C++23
To build the website,
$ uv run python gen.py --watch
The static files will be generated at _build. To serve them locally,
$ cd _build && python3 -m http.server
To run the benchmark,
$ cd bench
$ bazel run --config opt memory:tlb_shootdown
...
----------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------
BM_SingleThread 7807172 ns 7790222 ns 90
BM_MultiThread 511640 ns 509363 ns 1373
NOTE: Most benchmarks are not properly vetted at the moment, the numbers could be misleading.
- The website page templates are at src/
- All the data (questions, machine specs) is at src/data.yml
- All the benchmark codes are at bench/
MIT