{"action":"created","issue":{"url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/163","repository_url":"https://api.github.com/repos/bestiejs/benchmark.js","labels_url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/163/comments","events_url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/163/events","html_url":"https://github.com/bestiejs/benchmark.js/issues/163","id":168657269,"number":163,"title":"How to make it go faster?","user":{"login":"githubaccount624","id":20170894,"avatar_url":"https://avatars.githubusercontent.com/u/20170894?v=3","gravatar_id":"","url":"https://api.github.com/users/githubaccount624","html_url":"https://github.com/githubaccount624","followers_url":"https://api.github.com/users/githubaccount624/followers","following_url":"https://api.github.com/users/githubaccount624/following{/other_user}","gists_url":"https://api.github.com/users/githubaccount624/gists{/gist_id}","starred_url":"https://api.github.com/users/githubaccount624/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubaccount624/subscriptions","organizations_url":"https://api.github.com/users/githubaccount624/orgs","repos_url":"https://api.github.com/users/githubaccount624/repos","events_url":"https://api.github.com/users/githubaccount624/events{/privacy}","received_events_url":"https://api.github.com/users/githubaccount624/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bestiejs/benchmark.js/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-01T14:20:07Z","updated_at":"2016-08-01T17:21:57Z","closed_at":"2016-08-01T15:35:01Z","body":"I'm writing a library that needs to be very efficient.\r\n\r\nI am often making changes where I need do a benchmark every change.\r\n\r\nBenchmark js takes around 85 samples for each item in the suite and ends up taking 30 seconds total.\r\n\r\nEven though it would be less accurate, I'm looking for a way of making it much quicker during development. Ideally between 1 and 5 seconds.\r\n\r\nI looked through the options and couldn't find one to make it complete faster, even though I tried all the ones that looked promising. Regardless, it takes around 85 samples.\r\n\r\nIs there any way to do this?"},"comment":{"url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/comments/236646960","html_url":"https://github.com/bestiejs/benchmark.js/issues/163#issuecomment-236646960","issue_url":"https://api.github.com/repos/bestiejs/benchmark.js/issues/163","id":236646960,"user":{"login":"githubaccount624","id":20170894,"avatar_url":"https://avatars.githubusercontent.com/u/20170894?v=3","gravatar_id":"","url":"https://api.github.com/users/githubaccount624","html_url":"https://github.com/githubaccount624","followers_url":"https://api.github.com/users/githubaccount624/followers","following_url":"https://api.github.com/users/githubaccount624/following{/other_user}","gists_url":"https://api.github.com/users/githubaccount624/gists{/gist_id}","starred_url":"https://api.github.com/users/githubaccount624/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubaccount624/subscriptions","organizations_url":"https://api.github.com/users/githubaccount624/orgs","repos_url":"https://api.github.com/users/githubaccount624/repos","events_url":"https://api.github.com/users/githubaccount624/events{/privacy}","received_events_url":"https://api.github.com/users/githubaccount624/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T17:21:57Z","updated_at":"2016-08-01T17:21:57Z","body":"I must be missing something. I tried `.run({ 'async': false, 'maxTime': .1, 'minSamples': 0 });`, but it's still the same. Takes 30 seconds total and runs 85 samples for each test.\r\n\r\nCould you give me an example of an options setup that would significantly shorten the benchmark time? "}}
{"actor":{"display_login":"githubaccount624"}}