{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/3283","labels_url":"https://api.github.com/repos/babel/babel/issues/3283/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/3283/comments","events_url":"https://api.github.com/repos/babel/babel/issues/3283/events","html_url":"https://github.com/babel/babel/pull/3283","id":127512434,"number":3283,"title":"Improve generator performance","user":{"login":"gzzhanghao","id":5051221,"avatar_url":"https://avatars.githubusercontent.com/u/5051221?v=3","gravatar_id":"","url":"https://api.github.com/users/gzzhanghao","html_url":"https://github.com/gzzhanghao","followers_url":"https://api.github.com/users/gzzhanghao/followers","following_url":"https://api.github.com/users/gzzhanghao/following{/other_user}","gists_url":"https://api.github.com/users/gzzhanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/gzzhanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzzhanghao/subscriptions","organizations_url":"https://api.github.com/users/gzzhanghao/orgs","repos_url":"https://api.github.com/users/gzzhanghao/repos","events_url":"https://api.github.com/users/gzzhanghao/events{/privacy}","received_events_url":"https://api.github.com/users/gzzhanghao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel/labels/generation","name":"generation","color":"eb6420"},{"url":"https://api.github.com/repos/babel/babel/labels/performance","name":"performance","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-19T18:49:39Z","updated_at":"2016-01-20T16:29:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/3283","html_url":"https://github.com/babel/babel/pull/3283","diff_url":"https://github.com/babel/babel/pull/3283.diff","patch_url":"https://github.com/babel/babel/pull/3283.patch"},"body":"This PR aims to fix the performance issue for babel-generator, see [T6884](https://phabricator.babeljs.io/T6884).\r\n\r\nHere is the result from the same app in the discussion.\r\n\r\n```\r\n===== Origin =====\r\nbabylon 265\r\nbabel generator 2238\r\nacorn 107\r\nescodegen 355\r\nesprima 95\r\nescodegen 322\r\n===== Optimized =====\r\nbabylon 296\r\nbabel generator 662\r\nacorn 113\r\nescodegen 355\r\nesprima 106\r\nescodegen 317\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/173262093","html_url":"https://github.com/babel/babel/pull/3283#issuecomment-173262093","issue_url":"https://api.github.com/repos/babel/babel/issues/3283","id":173262093,"user":{"login":"gzzhanghao","id":5051221,"avatar_url":"https://avatars.githubusercontent.com/u/5051221?v=3","gravatar_id":"","url":"https://api.github.com/users/gzzhanghao","html_url":"https://github.com/gzzhanghao","followers_url":"https://api.github.com/users/gzzhanghao/followers","following_url":"https://api.github.com/users/gzzhanghao/following{/other_user}","gists_url":"https://api.github.com/users/gzzhanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/gzzhanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzzhanghao/subscriptions","organizations_url":"https://api.github.com/users/gzzhanghao/orgs","repos_url":"https://api.github.com/users/gzzhanghao/repos","events_url":"https://api.github.com/users/gzzhanghao/events{/privacy}","received_events_url":"https://api.github.com/users/gzzhanghao/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T16:29:19Z","updated_at":"2016-01-20T16:29:19Z","body":"@hzoo agree, we can add some identity test case and measure the running time for each package. like escodegen's [identity test](https://github.com/estools/escodegen/blob/master/test/identity.js)"}}