dtolnay / cargo-llvm-lines

Count lines of LLVM IR per generic function
Apache License 2.0
414 stars 24 forks source link

Add totals and percentages for lines/copies. #15

Closed nnethercote closed 4 years ago

nnethercote commented 4 years ago

Five seconds after I started using cargo-llvm-lines, I wanted totals and percentages. This commit adds them, making it much easier to judge the relative importance of each function.

nnethercote commented 4 years ago

Thank you for the fast merge.

nnethercote commented 4 years ago

BTW, check out https://github.com/rust-lang/rust/pull/72013, where cargo-llvm-lines has been instrumental.