Why is the V8 THIS big?
Perhaps this is due to its dependencies and features? How:
$ ls -1Ssh Release/obj/v8_base/|head -15 total 264M 5.1M hydrogen.obj 4.7M objects.obj 4.6M lithium-codegen-ia32.obj 4.4M lithium-ia32.obj 4.3M runtime.obj 4.3M hydrogen-instructions.obj 4.2M lithium-allocator.obj 4.1M lithium-gap-resolver-ia32.obj 3.7M compiler.obj 3.7M isolate.obj 3.5M v8.obj 3.4M lithium.obj 3.3M heap.obj 3.3M api.obj
However, it seems a bit big ...
Why does the Debug assembly produce much smaller lib files?
Perhaps this is a speed optimization that I found in common.gypi ?
'Release': { ... 'msvs_settings': { 'VCCLCompilerTool': { 'RuntimeLibrary': 0, # static release 'Optimization': 3, # /Ox, full optimization 'FavorSizeOrSpeed': 1, # /Ot, favour speed over size 'InlineFunctionExpansion': 2, # /Ob2, inline anything eligible
source share