{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/6407","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/6407/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6407/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/6407/events","html_url":"https://github.com/nodejs/node/pull/6407","id":151271009,"number":6407,"title":"benchmark: Fix crash in net benchmarks","user":{"login":"matthewloring","id":1485909,"avatar_url":"https://avatars.githubusercontent.com/u/1485909?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewloring","html_url":"https://github.com/matthewloring","followers_url":"https://api.github.com/users/matthewloring/followers","following_url":"https://api.github.com/users/matthewloring/following{/other_user}","gists_url":"https://api.github.com/users/matthewloring/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewloring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewloring/subscriptions","organizations_url":"https://api.github.com/users/matthewloring/orgs","repos_url":"https://api.github.com/users/matthewloring/repos","events_url":"https://api.github.com/users/matthewloring/events{/privacy}","received_events_url":"https://api.github.com/users/matthewloring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/benchmark","name":"benchmark","color":"009800"},{"url":"https://api.github.com/repos/nodejs/node/labels/events","name":"events","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"matthewloring","id":1485909,"avatar_url":"https://avatars.githubusercontent.com/u/1485909?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewloring","html_url":"https://github.com/matthewloring","followers_url":"https://api.github.com/users/matthewloring/followers","following_url":"https://api.github.com/users/matthewloring/following{/other_user}","gists_url":"https://api.github.com/users/matthewloring/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewloring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewloring/subscriptions","organizations_url":"https://api.github.com/users/matthewloring/orgs","repos_url":"https://api.github.com/users/matthewloring/repos","events_url":"https://api.github.com/users/matthewloring/events{/privacy}","received_events_url":"https://api.github.com/users/matthewloring/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-27T00:36:19Z","updated_at":"2016-04-27T00:52:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/6407","html_url":"https://github.com/nodejs/node/pull/6407","diff_url":"https://github.com/nodejs/node/pull/6407.diff","patch_url":"https://github.com/nodejs/node/pull/6407.patch"},"body":"##### Checklist\r\n\r\n- [ ] tests and code linting passes\r\n  - test-tick-processor/test-domain-no-error-handler-abort-on-uncaught\r\n    are failing but these should be unrelated.\r\n- [x] a test and/or benchmark is included\r\n- [x] the commit message follows commit guidelines\r\n\r\n\r\n##### Affected core subsystem(s)\r\n\r\nbenchmark\r\n\r\n\r\n##### Description of change\r\n\r\nNet benchmarks create partial event emitters that do not have all of the\r\nrequired event emitter functions. They currently mock out `on`, `once`,\r\nand `emit` functions. This change mocks out `prependListener` as well to\r\navoid crashing in `_stream_readable`.\r\n\r\nFixes #6405"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/214932221","html_url":"https://github.com/nodejs/node/pull/6407#issuecomment-214932221","issue_url":"https://api.github.com/repos/nodejs/node/issues/6407","id":214932221,"user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T00:52:29Z","updated_at":"2016-04-27T00:52:29Z","body":"LGTM"}}