/Microbenchmarks

Trying to figure various CPU things out

Primary LanguageC++Apache License 2.0Apache-2.0

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.