visionmedia/mocha — Issue #135: slow in browser ?
Author: weepy
Created: 2011-12-10 00:33:10+00:00
State: open

I've got the same tests running in both the browser and in node. In node they take 3ms, and in Chrome they take 700ms. All tests are synchronous and are handling some very basic logic. The Chrome profiler seems to just report that 90% of the time is spend in the "Program" so that's not much user. At first I thought it might be due to some kind of timer - but I can't see that in the codebase. Any ideas ?