-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
H3 library is not inlined #23
Comments
Thanks for the PR, I'll try looking into it. Could it be related to the way h3 is built?
Is there a Release flag I'm missing or similar? Thanks for opening the issue on h3 core as well. |
Per uber/h3#326 (comment) flag is |
I've spent another couple of hours with it and give up for today. |
Why is this flag not actually used in the latest v3.6.2 release? It looks harmless, and the 2x/3x improvements shown at uber/h3#326 are huge |
Release Still @Komzpa do you have any ideas for benchmarking the built extension? I would like to be able to compare changes like these (after being built into extension and not just h3 core directly). |
@zachasme pgbench is an industry standard to benchmark query execution times in postgres. |
We should also keep an eye on uber/h3#360. |
Solved by #75 |
Hi,
Investingating performance issues I found that H3 actively resists inlining.
objdump -D h3.so:
Simple math like *pi/180 is not getting inlined.
After some fight I got some pieces but haven't got to destination.
CMake supposedly enables inline like this:
These guys helped a bit inside the h3-pg itself but haven't got me to let linktime optimizations to cross library boundary.
Any ideas help.
The text was updated successfully, but these errors were encountered: