Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate ClangBuildAnalyzer to identify areas where we can improve build performance #1066

Open
azrogers opened this issue Jan 16, 2025 · 0 comments
Labels
performance Improvements to performance, including reductions in memory usage research Explore an idea or prototype a concept and share the results

Comments

@azrogers
Copy link
Contributor

While benchmarking #1064, I found out about ClangBuildAnalyzer. Using this tool in conjunction with clang's -ftime-trace flag, we can generate a report of which parts of our codebase take the longest to build. The granularity is pretty impressive, allowing us to break down which files take longest to parse, which templates take the longest to generate, which functions take the longest to compile, and more. It would be nice to have this as an additional compile target we can use, like clang-tidy.

@j9liu j9liu added research Explore an idea or prototype a concept and share the results performance Improvements to performance, including reductions in memory usage labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improvements to performance, including reductions in memory usage research Explore an idea or prototype a concept and share the results
Projects
None yet
Development

No branches or pull requests

2 participants