Skip to content

LLVM passes to profile, re-order and split the struct to maximize the cache utilization.

Notifications You must be signed in to change notification settings

show981111/struct-optimization

Repository files navigation

Struct Data layout optimization

Running a benchamrk

Create Visual diagram of IR and run benchmark.

sh test.sh 3 # number of benchmark. Currently have 10 benchmarks 

Get Cache statistics

Cache statistics are gathered using Valgrind. In order to get the result correctly, install the Valgrind first.

Get the result of benchmarks

After running test.sh script, run compare.sh script.

sh compare.sh 3 # number of benchmark. Currently have 10 benchmarks 

The reuslt will be stored in /benchmarks/results directory.

About

LLVM passes to profile, re-order and split the struct to maximize the cache utilization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published