-
Notifications
You must be signed in to change notification settings - Fork 68
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
GeneralPrinter
is slow
#501
Comments
Anecdotally, I don't think it's ever taken that long to generate the CImGui.jl bindings, which are 14.5k LOC 🤔 Is it just TTFX? Or the printing itself really being slow? |
I didn't profile but it stuck in "[GeneralPrinter]: print to ..." |
The LOC of the generated file may not be a good metric because the number of nodes/symbols can be way larger. |
I had something similar trying to wrap the win32 API, it took very long but only when I had a lot of entries in |
It takes almost 1min on my m1 machine to generate only 7k loc: https://github.com/Gnimuc/ClangCompiler.jl/blob/main/lib/17/LibClangEx.jl
whereas, the codegen process only takes seconds...
The text was updated successfully, but these errors were encountered: