I am trying to compile the libvpx module to wasm. But I am facing huge performance issues.
The wasm I build takes an average encode time of 1300+ milliseconds. But I found another livpx.wasm https://github.com/webrtc/apprtc/tree/wartc/src/web_app/wasm/libvpx which takes average encode time of 250+ milliseconds. Can anyone help me, Where am I going wrong. here are the compilation setting I use, to build *libvpx,* *emconfigure ../node_modules/libvpx/configure --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-libyuv --size-limit=16384x16384 --enable-multithread --enable-realtime-only --disable-install-docs --disable-unit-tests --disable-vp9-decoder --disable-vp9-encoder --target=generic-gnu --extra-cxxflags="-O3 -s WASM=1 -DWASM -I`dirname \`which emcc\``/system/lib/libcxxabi/include"* *emmake make* to build *libyuv,* *emcmake cmake -DCMAKE_BUILD_TYPE=Release ../node_modules/libyuvemmake make* *Final compilation,* *emcc -O3 -DWASM --bind -s STRICT=1 -s ALLOW_MEMORY_GROWTH=1 -s ASSERTIONS=0 -s NO_EXIT_RUNTIME=1 -s MALLOC=emmalloc -s MODULARIZE=1 -s FILESYSTEM=0 -s EXPORT_ES6=1 --std=c++11 -o ./my-module.js -x c++ -I ./node_modules/libvpx -I ./node_modules/libyuv/include -I build-vpx src/zcon_ss.cpp src/Utility/ZvpxCodecInst.cpp src/Utility/zvpx_encoder.cpp src/Utility/zvpx_decoder.cpp build-vpx/libvpx.a build-yuv/libyuv.a --no-entry --closure 0 --llvm-lto 3 -g0* -- 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/e47d2054-9a4a-4cc5-86f9-bf0072f55258%40googlegroups.com.
