Impressive JavaScript performance!

I just compared the song generation time in the JavaScript port of Sonant to the hand optimized x86 assembler version of the same synth, as used in the original Muon Baryon 4k demo.

I found the SNT tune here, and ran it in Opera in my new online Sonant player (check “Play Now!” if you wish to play the song in your browser), and guess what:

Native asm synth: 43s
JavaScript synth: 47s

That means that the JavaScript synth is less than 10% slower than the hand optimized native assembly language synth!

This entry was posted in JavaScript. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>