2010YOUY01 commented on issue #154: URL: https://github.com/apache/sedona-db/issues/154#issuecomment-3346258603
`DataFusion` upstream is using the same configurations for more optimized release build, I think this is safe to apply: https://github.com/apache/datafusion/blob/main/Cargo.toml#L227-L230 A potential issue is that it takes a really long time to compile, so we can add a middle tier for developing performance optimizations. It should compile much faster and can have a larger binary size, but the performance level should remain similar. Here is DataFusion's profile for this purpose: <https://github.com/apache/datafusion/blob/main/Cargo.toml#L232-L241> From my experiments, `codegen-units = 16` and `lto = false` have the biggest impact. Other options may only provide slight additional speed-ups. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
