{"issue":{"created_at":"2011-11-20T20:24:56Z","state":"open","updated_at":"2011-11-21T09:00:56Z","user":{"gravatar_id":"d36a92237c75c5337c17b60d90686bf9","id":170270,"url":"https://api.github.com/users/sindresorhus","login":"sindresorhus","avatar_url":"https://secure.gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":9,"body":"Would be awesome if jsperf could somehow use [TestSwarm](https://github.com/jquery/testswarm/wiki) to gather performance results. I could just leave the browser open and automagically provide people with performance results just like I do with the jQuery test suite. This would make jsperf even more useful, since you would get a lot more performance results.","assignee":null,"id":2297989,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":54,"labels":[],"title":"TestSwarm integration / add a way to run many benchmarks","closed_at":null,"html_url":"https://github.com/mathiasbynens/jsperf.com/issues/54","milestone":null,"url":"https://api.github.com/repos/mathiasbynens/jsperf.com/issues/54"},"action":"created","comment":{"created_at":"2011-11-21T09:00:56Z","updated_at":"2011-11-21T09:00:56Z","user":{"gravatar_id":"d36a92237c75c5337c17b60d90686bf9","id":170270,"url":"https://api.github.com/users/sindresorhus","login":"sindresorhus","avatar_url":"https://secure.gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"> We don’t really need TestSwarm; we already use Browserscope to store the results.\r\n\r\nGood point. Though the reason using TestSwarm is a good idea, is that there is already a lot of users contributing browser time. Though there is a lot of jsperf users too, so I don't think it's a big problem to get people to donate some unused browser time.\r\n\r\n\r\n> It has the potential to use up a lot of bandwidth.\r\n\r\nHow is the current bandwidth usage? Are you paying for the server yourself?\r\nGet a sponsor?\r\n\r\n\r\n> I’m afraid people will open all their browsers, point them to this PerfSwarm page, and leave them running the tests. This is not a good idea since tests that are running in another browser may lock up the CPU and influence the results of other tests.\r\n\r\nMaybe check the IP and user-agent and make sure only one test i running per IP simultaneously, and if there are multiple browsers from the same IP, then rotate between each browser?\r\n\r\n> Modern browsers clamp setTimeout and similar to ~1000ms for inactive windows/tabs, which may also influence the results a bit (even though Benchmark.js attempts to work around it).\r\n\r\n[Page Visibility](https://developer.mozilla.org/en/DOM/Using_the_Page_Visibility_API) FTW!\r\n","id":2812817,"url":"https://api.github.com/repos/mathiasbynens/jsperf.com/issues/comments/2812817"}}