-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add zld linker #1
Conversation
The filename should be just |
Also, as an unrelated side note, you may want to use |
@ashneverdawn I should clarify that this is after running I will update to using the alias, but it's still rather academic if it has no effect. 😢 |
I made the same alias change as in bevyengine/bevy#314 I tested again...still not seeing any effect. To avoid confusion, here is my testing procedure:
Compared to the same commands in another copy of the project without running |
I cloned the repo and did some tests for incremental compiles: Case 1: config without zld, without .add_default_plugins() Case 3: config with zld, without .add_default_plugins()
I'm running it on a 2014 mac: So, I definitely see a speed improvement on my end. What hardware are you running it on? |
After discussion with @ashneverdawn on Discord and comparing notes, we discovered that several factors were adding noise to my measurements: 1) using By eliminating factors 1, 2 and 4 (only looking at the cargo-reported build time and including Case A: Without zld, with
That's about 15% faster with zld. |
I must be doing something wrong. Even though zld appears to both be installed correctly and the config file appears to be formatted correctly, I see absolutely no difference in compile times on my mac. What am I missing? To test, I'm using this repositories' code with the
.add_default_plugins()
line commented out so that the app immediately exits after running each system once./cc @ashneverdawn @cart @lachlansneff from bevyengine/bevy#312