-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Major performance regression with lief 0.14 on osx #45
Comments
CC @conda-forge/core, if you see big jumps in osx CI runtime on a feedstock, it could be the new lief version. |
I know this is maybe not exactly useful information, but in If the conda-build maintainers would be interested, we could build some Python bindings and share some code, and potentially rip out the whole LIEF / otool / ldd business in conda-forge. There is a lot of (hard to read) code in there. And for us it would be exciting to share this code :) |
The performance regression is also very visible in for the clang-activation builds, where we went from ~20 seconds for 18.1.2
to 30 minutes for 18.1.3
That's a regression by almost a factor ~100! 😱 |
This has been a downstream issue introduced by yours truly and fixed in |
Thanks for the fix! 🙏 |
(and the work on the lief updates in the first place!) |
I looked at the build times a bit more closely again today, and even with conda-build 24.5.1, the clang-activation feedstock still takes ~25min for the link check (compared to ~20sec with older lief):
So I think this issue has to be reopened. |
FWIW, the 25min were on a slow agent, but even the very fastest osx build I found takes ~17min, which is still orders of magnitude worse than ~20sec.
|
Would you be interested in us factoring out the |
A recent change in the way smithy pins the python version (vs. being able to override it in |
In the GCP bindings feedstock, the osx builds used to be around 4-5h runtime with lief 0.12. With the first PR after the release of 0.14, the osx builds consistently ran into the 6h timeout.
Looking closer, the lief processing with 0.14 took about 1:20h (CI run)
whereas with 0.12, it takes ~20 seconds (CI run):
The text was updated successfully, but these errors were encountered: