This is the code used in the benchmarking codelabs.
Currently we have these codelabs available using code from this repository:
Inspect app performance with Macrobenchmark
Improve app performance with Baseline Profiles
To get started, point your browser at these codelabs and follow the instructions.