harmony icon indicating copy to clipboard operation
harmony copied to clipboard

Could passing generated JS to an optimizer improve Harmony performance?

Open mattpolzin opened this issue 3 years ago • 1 comments

mattpolzin avatar Jul 16 '22 23:07 mattpolzin

Tried Closure Compiler. It certainly reduces code size. Not sure performance win will be that meaningful. It can remove dead code, which is nice, but the rewriting when using advanced optimization breaks code that uses require() without using extern features of the compiler. Not sure this all adds up to being worth a new step in the regular release process of harmony.

mattpolzin avatar Nov 30 '22 06:11 mattpolzin

Not going to pursue JS optimization any further.

mattpolzin avatar Jul 05 '24 21:07 mattpolzin