Skip to content

ChipsandCheese/Microbenchmarks

 
 

Repository files navigation

Microbenchmarks

Trying to figure various CPU things out

Basically my playground to microbenchmark various CPU-related things like ROB/register file sizes, lock/cache coherency latency, and cache/memory performance.

Building Clammicrobench with Generated Code

Get NASM (https://www.nasm.us/) and make sure it's in your path. Then things should build under Visual Studio 2019.

Some microbenchmarks have the source code and assembly generated by C# code, to avoid crazy stuff like self modifying code. For clammicrobench, build/run the AsmGen project. Pass "autocopy" on the command line to have it automatically place generated ASM files for Visual Studio. Then, the clammicrobench project should build.

About

Trying to figure various CPU things out

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 45.1%
  • C# 32.0%
  • Assembly 18.5%
  • C++ 4.2%
  • Makefile 0.2%