DailyJS

DailyJS

The JavaScript blog.


Tagglow
Featured

libraries performance testing glow

Woosh

Posted on .

I was looking through glow2's commits,
and I noticed references to
Woosh, a JavaScript speed testing framework written by Jake
Archibald
. It's being used in a similar
way to slickspeed to test glow2's
performance.

Tests look like this:

woosh.addTests('testSomething',
  'Test 1': new woosh.Test(timesToRun, function() {
    return testFunction();
  })
});

Frances Berriman (one of the glow authors) wrote a very detailed Woosh tutorial: JavaScript speed testing tutorial
with
Woosh
.