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

Reduce the C++ compilation duration #2203

Open
k-ye opened this issue Mar 7, 2021 · 0 comments
Open

Reduce the C++ compilation duration #2203

k-ye opened this issue Mar 7, 2021 · 0 comments
Labels
advanced optimization The issue or bug is related to advanced optimization c++ C++ engineering related feature request Suggest an idea on this project

Comments

@k-ye
Copy link
Member

k-ye commented Mar 7, 2021

Concisely describe the proposed feature

This is derived from #2196 and #2200. We should aim to reduce the time spent on compilation/linkage. Note that the compilation duration refers to the time to build the Taichi C++ codebase, not to JIT compile from Python to backends.

Describe the solution you'd like (if any)

A few possible action items:

  • Profile the compilation duration and figure out the major bottleneck.
  • If necessary, clean up the #include header dependencies.
  • Set up a continuous compilation benchmark to detect regression.

Additional comments

  • This isn't super urgent. Filing this one so that we don't forget.
  • That said, we should have a quantitative way to decide when this is hurting the dev experience too much and needs to be prioritized.
@k-ye k-ye added feature request Suggest an idea on this project c++ C++ engineering related advanced optimization The issue or bug is related to advanced optimization labels Mar 7, 2021
@k-ye k-ye mentioned this issue Mar 7, 2021
12 tasks
@k-ye k-ye changed the title Reduce the compilation duration Reduce the C++ compilation duration Mar 7, 2021
@k-ye k-ye mentioned this issue Jun 3, 2021
43 tasks
@qiao-bo qiao-bo mentioned this issue Apr 21, 2022
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advanced optimization The issue or bug is related to advanced optimization c++ C++ engineering related feature request Suggest an idea on this project
Projects
None yet
Development

No branches or pull requests

1 participant