Skip to content

llvm-lines

Counts LLVM IR lines using cargo-llvm-lines. Reports the total line count as a count measurement, with a per-function breakdown as detail.

Requires cargo-llvm-lines to be installed:

Terminal window
cargo install cargo-llvm-lines

None. Runs cargo llvm-lines in the project root.

[[steps]]
name = "measure-llvm"
forager = "llvm-lines"
{
"measurement": {
"name": "llvm-lines",
"kind": "count",
"value": 125000,
"unit": "lines",
"detail": [
{ "name": "std::rt::lang_start_internal", "value": 405 },
{ "name": "core::fmt::write", "value": 392 }
]
}
}

The dashboard renders count measurements as a bar chart across commits. The detail list shows the top functions by line count (up to 50 entries).