Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fast

whichisfaster.dev

Requirements

For the website:

For the benchmark:

  • Bazel 9
  • C++ compiler that supports C++23

Usage

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.

Contributions

  • 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/

License

MIT

About

Learning Performance Optimization Through Quizzes

Resources

Stars

5 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages