# Linux Kernel Module Cheat

## 35. Benchmark this repo

TODO: didn’t fully port during refactor after 3b0a343647bed577586989fb702b760bd280844a. Reimplementing should not be hard.

In this section document how benchmark builds and runs of this repo, and how to investigate what the bottleneck is.

Ideally, we should setup an automated build server that benchmarks those things continuously for us, but our Travis attempt failed.

So currently, we are running benchmarks manually when it seems reasonable and uploading them to: https://github.com/cirosantilli/linux-kernel-module-cheat-regression

All benchmarks were run on the 2017 Lenovo ThinkPad P51 machine, unless stated otherwise.

Run all benchmarks and upload the results:

    cd ..
    git clone https://github.com/cirosantilli/linux-kernel-module-cheat-regression
    cd -
    ./bench-all -A

- Continuous integration

- Benchmark this repo benchmarks

- Benchmark machines

- Benchmark Internets

- Benchmark this repo bibliography