{"action":"closed","issue":{"url":"https://api.github.com/repos/jonschlinkert/arr-flatten/issues/1","repository_url":"https://api.github.com/repos/jonschlinkert/arr-flatten","labels_url":"https://api.github.com/repos/jonschlinkert/arr-flatten/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jonschlinkert/arr-flatten/issues/1/comments","events_url":"https://api.github.com/repos/jonschlinkert/arr-flatten/issues/1/events","html_url":"https://github.com/jonschlinkert/arr-flatten/issues/1","id":74767758,"number":1,"title":"Update benchmarks","user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars3.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-05-09T22:00:56Z","updated_at":"2017-04-14T11:28:13Z","closed_at":"2017-04-14T11:28:13Z","body":"Hey! I just found this and you're right about the depth argument. I did a bit of testing before this and found it wasn't quite that big of a slowdown, but the `array-flatten` is faster without it so I implemented a shorter code path for when it's undefined. That changed the benchmark here somewhat.\n\n```\n#1: large \n  current x 426,603 ops/sec ±2.21% (88 runs sampled)\n  lib-array-flatten x 427,445 ops/sec ±2.76% (90 runs sampled)\n\n  fastest is lib-array-flatten\n#2: medium \n  current x 1,860,941 ops/sec ±1.41% (88 runs sampled)\n  lib-array-flatten x 1,753,099 ops/sec ±2.32% (88 runs sampled)\n\n  fastest is current\n#3: small \n  current x 5,005,209 ops/sec ±1.36% (86 runs sampled)\n  lib-array-flatten x 5,473,100 ops/sec ±2.77% (89 runs sampled)\n\n  fastest is lib-array-flatten\n```\n\nRun with `iojs@2.0.1`. The benchmark tends to frequently switch between `current` or `lib-array-flatten`. \n"}}
{"actor":{"display_login":"jonschlinkert"}}