Kode / Krom

Other
98 stars 23 forks source link

ChakraCore Lite #93

Closed luboslenco closed 5 years ago

luboslenco commented 6 years ago

There is a way to build Lite version of ChakraCore to further minimize size. We want to keep JIT but the other bits may be useful. https://github.com/Microsoft/ChakraCore/pull/3553

RobDangerous commented 6 years ago

We also need script debugging (at least for the regular builds). But yes, there's still a bunch of stuff in Chakra which we can and should deactivate.

luboslenco commented 5 years ago

I did some tests: disabling ENABLE_JS_ETW and ENABLE_INTL_OBJECT shaves 200KB. I also tried disabling ENABLE_SCRIPT_DEBUGGING which shaves 500KB.

By default we are probably better off leaving things as they are to not run into weird issues.