-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
build runs very slow when export numbers are high #8447
Comments
I'd try to speed this up with early exiting in |
i first subtracted the 2 arrays, remove all which are already in 1 more question, do we need this check in dynamic linking? perhaps its not that useful when its a side/main module? |
One suggestion is to copy the larger array into a map so that all the accesses will be in constant time and instead of looping thru the arrays and logging the elements one by one, just store all of them into a string and log them at one go. |
@kripken i opened a PR which helps with this |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant. |
i found that the function
function_tables_and_exports
takes very long when the export numbers are high.most of the time is spent in function
check_all_implemented
to check for missing functions.in our project where the number of exports is > 70000 this function can easily take up to 15 mins or more
maybe we can make this check parallel? and possibly improve the execution logic.
The text was updated successfully, but these errors were encountered: