[quickjs-devel] Increased compiled binary size with latest quickjs release 2020-07-05

  • From: Volodymyr Gubarkov <xonixx@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Tue, 28 Jul 2020 16:09:08 +0300

Hi,

Thank you for the awesome piece of software to the developer(s) of QuickJS!

I'm using this compilation command

$QJS_HOME/qjsc \
    -flto \
    -fno-date \
    -fno-proxy \
    -fno-promise \
    -fno-map \
    -fno-typedarray \
    -fno-string-normalize \
    ../prog.js -o prog

I've noticed that the result prog size is 690K when compiled with previous
release 2020-04-12 and 840K when compiled with latest release 2020-07-05.
Nothing serious, just wondering:

1. Are there any config options to make it smaller (Note, I can't add more
-fno- switches because I use all other JS features)
2. Is it going to grow fast with any new release? I'm developing a small
CLI tool and prefer it to be as small as possible.

Best regards,
Volodymyr

Other related posts:

  • » [quickjs-devel] Increased compiled binary size with latest quickjs release 2020-07-05 - Volodymyr Gubarkov