I am trying to build a spell check library, that is c++ code.
I am able to build it , create wasm and successfully use it in the web page.

First I tried it with auto tools (since hunspell was already built for wasm 
using auto tools)......I refereed to the same (hunspell-wasm) build 
environment and just changed the details to get my wasm..........and that 
worked very very well.........Speed was amazing in the web page.

Then I tried to build the same code with cmake..... as I wanted to do the 
whole thing by myself .... better than the above copy paste approach for 
future support. I thought cmake was easier to grasp than autotools,. So I 
followed a tutorial and successfully built the wasm. That wasm also worked

However strangely this cmake based wasm performs about 10 times slower than 
the autotools based built wasm. (this 10 times thing is just a 
guess......no measurement......but it moves with ant's speed compared to 
the earlier)

Can somebody give me any pointers as to where should I start looking for 
issues.

I know this question is not giving any details, as I do not know what 
should I provide.
Please let me know what details I need to provide.
Thanks in advance
-Mahesh

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/2d859032-5c49-4f8e-b277-a357af9dd391n%40googlegroups.com.

Reply via email to