Icculus: EmScripten Audio Conversion Performance In The Web Browser
Written by Michael Larabel in Free Software on 29 January 2017 at 12:05 PM EST. 14 Comments
FREE SOFTWARE --
Linux game porter and SDL developer Ryan "Icculus" Gordon has shared some performance measurements when bringing SDL's new audio conversion support within web-browsers using EmScripten.

Within the latest SDL development code is audio conversion support. Ryan Gordon was testing it by seeing how long it takes to use a 12MB Wav file and re-sample it 500 times.

It took 6.5 seconds to run this audio conversion test on Ryan's MacBook. Under Chrome without SIMD.js it took 18 seconds to run and a similar amount of time for Safari. With Firefox, also without SIMD.js, it took about 11 seconds. With Firefox Nightly using SIMD.js and EmScripten building their SSE2 code yielded a time of about 15 seconds.

Details via this series of Tweets. Just some fun numbers to look at over the weekend and will be interesting to see how it performs with additional tuning.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week