Re: Similar Function Elimination

2017-08-18 Thread arnab choudhury
Hey Floh This document covers Similar Function Elimination in detail. It is a more general version of DFE. The main difference between the two is that while in DFE we hash function

Re: Similar Function Elimination

2017-08-18 Thread Floh
Nice to see progress in that area :) What are the differences to the existing DFE pass? Since both are from you guys I guess the Similar Function Elimination is an improvement over the Duplicate Function Elimination? Is the new SFE supposed to replace DFE, or are they independent from each

Re: Need help exporting functions for library

2017-08-18 Thread Alon Zakai
Probably a typo then. Note that emscripten by convention adds an "_" [1] and looks like those methods already have one, so perhaps you have just one too many or too few. [1]

Similar Function Elimination

2017-08-18 Thread arnab choudhury
Hello Emscripten-Discuss I just wanted to bring folks' attention to a new post-build optimization pass for Emscripten generated asm.js called Similar Function Elimination (SFE) that Tableau recently open sourced. I discussed with Alon, and our thinking is that we will be adding this pass to

Several web workers under WASM low performance

2017-08-18 Thread ilia . galashko
Hello, I tried to use several web worker in my project and noticed that when we have more than one worker at the same time, they do not perform operations in parallel mode. Looks like they do operations step by step. I compile code to WASM and run worker form C++ code with

Re: Optimization in binaryen.js library

2017-08-18 Thread letz
- yes autovectorization usually helps a lot with this kind of code, as we can see when we produce C/C++ code from the Faust compiler. - code size is usually not an issue, but speed is - for speed measurement, should I simply use all Date.getTime kind of API ? Or are they any more sophisticated