News for hackers. Stuff that matters.
Re:Compiling LLJS to asm.js by simcop2387 on Monday March 25, 2013 @03:01PM (#5438929)
Doesn't appear to be doing anything for me,

    noasm 285
    asm 13
    asm 13
    noasm 269 
That's all that appears in the console. Network and everything looks fine, no 404 or other errors.
Re:Compiling LLJS to asm.js by abecedarius on Monday March 25, 2013 @03:20PM (#5439064)
Yes, I disabled display so that wouldn't get into the benchmark. The numbers are times in milliseconds.
Re:Compiling LLJS to asm.js by Groxx on Monday March 25, 2013 @09:56PM (#5440952)
I wonder if most / all of that speedup is just using typed arrays (edit: nvm, they both do). I get similar speeds in Chrome, which afaik doesn't have any special handling for `"use asm";` functions.
Re:Compiling LLJS to asm.js by srijs on Tuesday March 26, 2013 @04:59AM (#5441977)
Typed arrays do deliver a lot of speedup, and in fact, the above example is slightly faster in Chrome than in Firefox Nightly for me. However, if your algorithm does crunch a lot of data in a low-level way, there is definitely even more performance you can get by using asm.js.

See my link in the comment below for benchmarks of a sha1 algorithm that shows a good speedup in Chrome by using TypedArrays, but an even greater one in OdinMonkey.

Re:Compiling LLJS to asm.js by Groxx on Tuesday March 26, 2013 @12:49PM (#5444494)
awesome - thanks for doing the legwork! I'll definitely take a look.