lean4-htt/tests/bench-radar/build
..
lakeprof_report_template.html
lakeprof_report_upload.py
lean_wrapper.py
README.md
run

The build benchmark

This benchmark executes a complete build of the stage3 stdlib and collects global and per-module metrics.

The following metrics are collected by a wrapper around the entire build process:

  • build//instructions
  • build//maxrss
  • build//task-clock
  • build//wall-clock

The following metrics are collected from leanc --profile and summed across all modules:

  • build/profile/<name>//wall-clock

The following metrics are collected from lakeprof report:

  • build/lakeprof/longest build path//wall-clock
  • build/lakeprof/longest rebuild path//wall-clock

The following metrics are collected individually for each module:

  • build/module/<name>//lines
  • build/module/<name>//instructions

If the file build_upload_lakeprof_report is present in the repo root, the lakeprof report will be uploaded once the benchmark run concludes.