This is an archive of the discontinued LLVM Phabricator instance.

[pseudo] benchmark cleanups. NFC
ClosedPublic

Authored by sammccall on May 10 2022, 6:46 AM.

Details

Summary
  • add missing benchmark for lex/preprocess steps
  • name benchmarks after the function they're benchmarking, when appropriate
  • remove unergonomic "run" prefixes from benchmark names
  • give a useful error message if --grammar or --source are missing
  • Use realistic example of how to run, run all benchmarks by default. (for someone who doesn't know the commands, this is the most useful action)
  • Improve typos/wording in comment
  • clean up unused vars
  • avoid "parseable stream" name, which isn't a great name & not one I expected to escape from ClangPseudoMain

Diff Detail

Event Timeline

sammccall created this revision.May 10 2022, 6:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2022, 6:46 AM
sammccall requested review of this revision.May 10 2022, 6:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2022, 6:46 AM
hokein accepted this revision.May 10 2022, 12:30 PM

Thanks!

This revision is now accepted and ready to land.May 10 2022, 12:30 PM
This revision was automatically updated to reflect the committed changes.