hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.5K
active users

Dumb question - but what would you use to benchmark clang itself? I thought about just taking the time to run the entire lit test suite but dunno if that's a good measure or not?

Chandler Carruth

@neilhenning depends on for what...

But the lit test suite isn't great at much iirc because it spends so much time on color er cases and diagnosing things -- not usually the hot path.

A big project's build works well for general performance, llvm and clang itself work reasonably well.

For more targeted things, I've typically generated a test case to exercise that pattern.

@chandlerc oh actually that was a late night doh - bootstrapping clang itself is the obvious benchmark to use thanks!