-
Notifications
You must be signed in to change notification settings - Fork 31
Installing vs_tool 0.9.3 almost doubled "release" build js size compared to 0.9.2 #34
Comments
With those two versions, can you use the "echo command lines" option for the linker and cross-check the changes? |
output vs_tool 0.9.2 :
Emcc Linker property page General settings for vs_tool 0.9.2 are : output vs_tool 0.9.3 :
And here is a screen shot of the linker general settings page for the two tools (I didn't manually change any of the settings, just installed the new tool) |
Same problem here. I've got exactly the same linker settings than virtualcodewarrior and my build size went from 6287 KB to 10058 KB. |
I think it's the case that in the old compiler which 0.9.2 targeted, minification was off by default (--minify option), and now it's become on by default, which 0.9.3 is targeting. Try resetting the line "Force JS Code Minifier Run" to its default state, which should say "Yes" with a non-bolded text. If that doesn't work, can you enable the "Echo Command Lines" option for both compile and link panels, and send me back the results? |
Resetting the minifer option to the default value did the trick. The js file size is now back to what it used to be. Thanks a lot! |
Great! |
I just installed version 0.9.3 of the vs_tool and after installing this version my "release" build almost doubled in size.
with vs_tool 0.9.2 -> size of js = 7599 KB
after installing 0.9.3 -> size of js = 13374 KB
The generated BC files still have the same size so I assume that changes to the linker settings are causing this.
I didn't update any of the other parts of emscripten and didn't modify any settings in my project.
Switching back to the older version fixes the problem
The text was updated successfully, but these errors were encountered: