lean4-htt/tests/bench-radar/size/README.md
Garmelon a0d0abcdc5
chore: update and add benchmark metrics (#11420)
This PR adds per-module `.ilean` and `.olean` file size metrics, global
and per-module cycle counting, and adds back `lean --stat`-based
metrics. It also renames some `size/*` metrics to get rid of the name
`stdlib`.
2025-11-28 14:40:43 +00:00

36 lines
1,004 B
Markdown

# The `size` benchmark
This benchmark measures the number and size of a few kinds of files.
It expects to be executed after the `build` benchmark.
The following general metrics are collected:
- `size/libleanshared.so//bytes`
The following metrics are collected from the entire build process:
- `size/all/.c//files`
- `size/all/.c//lines`
- `size/all/.cpp//files`
- `size/all/.cpp//lines`
- `size/all/.lean//files`
- `size/all/.lean//lines`
- `size/all/.ilean//files`
- `size/all/.ilean//bytes`
- `size/all/.olean//files`
- `size/all/.olean//bytes`
- `size/all/.olean.server//files`
- `size/all/.olean.server//bytes`
- `size/all/.olean.private//files`
- `size/all/.olean.private//bytes`
- `size/all/.ir//files`
- `size/all/.ir//bytes`
The following metrics are collected only for the `Init` library.
- `size/init/.olean//files`
- `size/init/.olean//bytes`
- `size/init/.olean.server//files`
- `size/init/.olean.server//bytes`
- `size/init/.olean.private//files`
- `size/init/.olean.private//bytes`