{"action":"created","issue":{"url":"https://api.github.com/repos/yargs/yargs/issues/521","repository_url":"https://api.github.com/repos/yargs/yargs","labels_url":"https://api.github.com/repos/yargs/yargs/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/yargs/yargs/issues/521/comments","events_url":"https://api.github.com/repos/yargs/yargs/issues/521/events","html_url":"https://github.com/yargs/yargs/issues/521","id":157420440,"number":521,"title":"benchmarks \\o/","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yargs/yargs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-05-30T02:16:59Z","updated_at":"2016-06-29T12:50:41Z","closed_at":null,"body":"Someone on the [Internetz](https://twitter.com/RijnhardH/status/736199577360031745) complained that yargs is a slow ... you know what, they're probably right we've never made an effort to run many benchmarks (we're getting to the point of maturity where we probably should). \r\n\r\n_Let's run some benchmarks on yargs, comparing it against some other parsers as a baseline:_\r\n\r\n- [ ] optimist\r\n- [ ] commander\r\n- [ ] argparse\r\n\r\n_Let's fix a few of the glaring performance issues:_\r\n\r\n * I have my suspicions as to where the most likely performance bottlenecks would be (*cough* [cliui](https://github.com/yargs/cliui))\r\n\r\n**This work could be pretty fun.**\r\n\r\nthoughts, @nexdrew @maxrimue, @lrlna?"},"comment":{"url":"https://api.github.com/repos/yargs/yargs/issues/comments/229345982","html_url":"https://github.com/yargs/yargs/issues/521#issuecomment-229345982","issue_url":"https://api.github.com/repos/yargs/yargs/issues/521","id":229345982,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T12:50:41Z","updated_at":"2016-06-29T12:50:41Z","body":"I think Node.js 6 with npm@3 will give a lot better number, but sure, can't hurt to lazy load `read-pkg-up`, though would be nice to figure out exactly why it's so slow to require. Maybe I should lazy load something there too. Fixing `read-pkg-up` or one of its dependencies would benefit more projects than just `yargs`. Gut feeling is that it's `normalize-package-data` and `graceful-fs` that makes it slow, but haven't done any benchmarking yet."}}
{"actor":{"display_login":"sindresorhus"}}