Replies: 1 comment 2 replies
-
|
Nice speedup! Perhaps it's because my machine isn't as nice (or may be I didn't do it right), but my speed up wasn't so dramatic. Somewhere in the 1-2 seconds range. Oh wait...no, it doesn't look faster here. Must be doing something wrong. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When working on the Janet source, I often find my edit-to-run turnaround time just a bit too high to be comfy; even though I have a fairly modern 24 core machine, the final build of the amalgamated
janet.cstill takes up to 6 seconds because this last step can not be parallelized - shame!As a workaround I have some local changes to my
Makefileandboot.janet(see below) that adds a target for generating the boot code without amalgamating all the sources, and just building and linking all the individual objects the "old fashioned" way. This results in a build time of approx 1.5 seconds, instead of the 8 seconds of the normal target.Are other people also bothered by the compilation time, and would it make sense to add a parallelizable build target to the Makefile for this?
zevv@8f43bf3
Beta Was this translation helpful? Give feedback.
All reactions