-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Get build times under 1s #1528
Comments
It seems most of the delay is on the build. I would suggest looking into pre-compiling if possible. Hopefully this helps anyone else looking into the issue. Output of
|
@adeebshihadeh it looks like you intended to post the output of |
target: a clean build (scons -c && ...) being <1s for anyone willing to dig through profiling data...
import pstats
p = pstats.Stats('build_profile.pstats')
p.sort_stats('cumulative').print_stats() |
I have a modern Threadripper with tons of cores - why is building not instant? Is it the Cython? Is it all the C++ regex?
opendbc is a small project, so working in it should feel very snappy and instant. We're open to any changes necessary to get to <1s fresh builds.
It's possible there's one silly thing taking all that time or it's a few things we have to fix. Some notes in #1180.
The goal is to get
scons -c && time scons -j40
to report <1s (on my workstation, though it shouldn't be too different on other machines). Here's where we are now:The text was updated successfully, but these errors were encountered: