Hi, Yes binary size is a concern on our end as well (for instance shipping chrome on android). Looking at our own numbers we see roughly a 10% increase per year, partly due to optimisations and partly due to new features being added to the language.
You could potentially disable parts of V8 and save on binary size, typically they revolve around profiling and debugging. That might work if you have minimal release builds, where let's say you disable the profiler and the inspector (or even certain web-features like wasm). In short, there is no easy way to greatly reduce binary size without sacrificing features at the moment. cheers, Camillo On Tue, 21 Dec 2021 at 10:22, MG <martin.guil...@akylas.fr> wrote: > We have been building v8 for android since 8.3. We use `is_component_build` > to only add in our lib the modules we need for our engine (i am talking > about the engine behind Nativescript <https://nativescript.org/> ) In 8.3 > the resulting libv8 was 50Mb. In 9.3 it went to 66.3Mb and now in 9.7 we > are at 68.2Mb It is a bit worrying to see such a lib size increase over > that period. > Wondering if we could get some understanding of this, and maybe some > advices on how to keep it "small" > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/aca44c98-f816-4a2b-9502-7a7d64dfd3fcn%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/aca44c98-f816-4a2b-9502-7a7d64dfd3fcn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > Camillo Bruni | Software Engineer, V8 | Google Germany GmbH | Erika-Mann Str. 33, 80636 München Registergericht und -nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft: Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado Diese E-Mail ist vertraulich. Falls Ssie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAOeS1i9XFkQm2k64om2GS2XJCy7nGr9VmTk_uTnU2kXUj%3DpRhQ%40mail.gmail.com.