aboutsummaryrefslogtreecommitdiff
path: root/tools/js_optimizer.py
AgeCommit message (Collapse)Author
2014-03-24--emit-symbol-map optionAlon Zakai
2014-02-26make js optimizer max chunk size customizableAlon Zakai
2014-02-26add debug printout regarding chunkification in js optimizerAlon Zakai
2014-01-25do more parallel work in js optimizerAlon Zakai
2014-01-16Split name-minification into a separate pass from registerization.Ryan Kelly
2014-01-14fix for running js optimizer standaloneAlon Zakai
2014-01-08do minified name generation in js-optimizer.js, so that we have no more ↵Alon Zakai
fixed limit on the # of minified names
2013-10-29bump js minifier name limit, and optimize to not create all the names on ↵Alon Zakai
smaller inputs
2013-09-23write out file in standalone call to js_optimizer.pyAlon Zakai
2013-09-18enable extra_info for standalone js_optimizer.pyAlon Zakai
2013-09-18allow js_optimizer.py to run standaloneAlon Zakai
2013-08-28sort generated functionsAlon Zakai
2013-08-21warn on very large functions and mention OUTLINING_LIMITAlon Zakai
2013-07-25allow mixing minifier extra info with general extra info in js optimizerAlon Zakai
2013-07-10Don't throw KeyboardInterrupt from a child process.Jez Ng
This should fix #1327.
2013-07-03add a naming to globals that can be linked and used across modulesAlon Zakai
2013-07-03refactor linking of importsAlon Zakai
2013-07-03fix detection of whether we know which are the generated functions in js ↵Alon Zakai
optimizer
2013-07-03allow extra info in js optimizer, and send relocate pass info that wayAlon Zakai
2013-07-03start to parse importsAlon Zakai
2013-07-03start to parse asm modulesAlon Zakai
2013-06-26Merge branch 'source-maps' of github.com:int3/emscripten into int3-source-mapsAlon Zakai
Conflicts: tools/js-optimizer.js
2013-06-25add 'let' to reserved keywords for minifierAlon Zakai
2013-06-24rename MINIFY_INFO to EXTRA_INFO in preparation for further usesAlon Zakai
2013-06-24unify registerize and minify passes, since they must run in conjunctionAlon Zakai
2013-06-24fix minifyGlobals in separate passAlon Zakai
2013-06-22Merge remote-tracking branch 'upstream/incoming' into source-mapsJez Ng
Conflicts: emcc tools/js-optimizer.js tools/js_optimizer.py
2013-06-22clean up closure callingAlon Zakai
2013-06-22remove unneeded lineAlon Zakai
2013-06-22only minify globals when reloopingAlon Zakai
2013-06-22fix -g2 and add testingAlon Zakai
2013-06-22Source maps should only be activated via the `--map` flag.Jez Ng
2013-06-19Lay the groundwork for optimized source maps.Jez Ng
2013-05-16support closure compiler on the shell in asm modeAlon Zakai
2013-04-08Remove '.' print in tools/js_optimizer.py on Windows. Fixes ↵Jukka Jylänki
other.test_chunking on Windows. On Windows, prints to stdout/stderr do not appear coherently synchronized per-line if multiple threads print data simultaneously to console. This caused other.test_chunking tests to fail when they receive output like emcc: step took 5.09 seconds emcc: running pre-closure post-opts emcc: running post-closure post-opts emcc: applying js optimization passes: ['eliminate', 'simplifyExpressionsPre', 'simplifyExpressionsPost', 'last'] splitting up js o. ptimization into 2 chunks of size 1048576, using 2 cores (total: 1.42 MB) emcc: step took 2.37 seconds emcc: total time: 11.75 seconds where the test looks for the string 'splitting up js optimization into' from the output. Note that the chunk processor thread has printed a single '.' in between the critical line, creating a race condition that randomly makes the test pass or fail, depending on where in the output the '.' lands in.
2013-04-03bump MAX_NAMESAlon Zakai
2013-03-12fix globalScope altering in runtimelink modules; fixes test_runtimelinkAlon Zakai
2013-03-11bump number of minified namesAlon Zakai
2013-03-10add 'progress' updates from multicore operations in emccAlon Zakai
2013-03-10use whitelist of lines to forward out of generated functions areaAlon Zakai
2013-03-09do not wipe out everything after the generated functions suffix; fixes ↵Alon Zakai
test_embind
2013-03-09remove limitations on minified namesAlon Zakai
2013-03-09compress asm shellAlon Zakai
2013-03-09improve non-asm parsing of generated functions area to be identical in ↵Alon Zakai
EMCC_DEBUG=1 and 2
2013-03-09do not emit generated functions suffix when no longer neededAlon Zakai
2013-03-08save 0.0 in asm shell minificationAlon Zakai
2013-03-08fix another name collisionAlon Zakai
2013-03-08fix temporary workaround for register namesAlon Zakai
2013-03-08for now, do not use rX as minified names, reserve that for registerize localsAlon Zakai
2013-03-08increase number of minified names, and add func markersAlon Zakai