Stream: general

Topic: Amazing CG Clif compile time improvments vs LLVM


view this post on Zulip Rob Gilson (Mar 28 2022 at 02:47):

Wow, I'm just trying cg clif for the first time and I was expecting a 30% improvement but the results I'm seeing are far better then that - this is amazing!

Initial Compile (after rm -rf target)

LLVM

real 4m13.124s
user 18m17.858s
sys 1m15.016s

CG Clif

real 1m24.908s
user 10m21.666s
sys 0m52.910s

Recompile (after 1 line change)

LLVM

real 1m28.535s
user 1m31.308s
sys 0m3.117s

CG Clif

real 0m4.755s
user 0m4.907s
sys 0m0.585s

If anyone has any ideas why I'm seeing such a massive improvement I'd love to know more.

The project I'm comparing these compilation times for is on github at: github.com/printSpool/printSpool

A bold new way to 3D print over WiFi. Contribute to PrintSpool/PrintSpool development by creating an account on GitHub.

view this post on Zulip bjorn3 (Mar 28 2022 at 14:01):

(author of cg_clif here)
Are you building in release mode? Cg_clif is effectively limited to debug mode, so building in release mode with llvm is not a fair comparison.

view this post on Zulip bjorn3 (Mar 28 2022 at 14:02):

By the way please @ ping me when you respond. Otherwise I may miss your response.


Last updated: Nov 22 2024 at 16:03 UTC