mcejp / Microbenchmarks

Trying to figure various CPU things out

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:C 45.1%Language:C# 32.0%Language:Assembly 18.5%Language:C++ 4.2%Language:Makefile 0.2%