{"action":"created","issue":{"url":"https://api.github.com/repos/developit/preact/issues/275","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/275/comments","events_url":"https://api.github.com/repos/developit/preact/issues/275/events","html_url":"https://github.com/developit/preact/pull/275","id":171915569,"number":275,"title":"Faster if a little more verbose case insensitive 'on' match","user":{"login":"c2h5oh","id":446070,"avatar_url":"https://avatars.githubusercontent.com/u/446070?v=3","gravatar_id":"","url":"https://api.github.com/users/c2h5oh","html_url":"https://github.com/c2h5oh","followers_url":"https://api.github.com/users/c2h5oh/followers","following_url":"https://api.github.com/users/c2h5oh/following{/other_user}","gists_url":"https://api.github.com/users/c2h5oh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2h5oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2h5oh/subscriptions","organizations_url":"https://api.github.com/users/c2h5oh/orgs","repos_url":"https://api.github.com/users/c2h5oh/repos","events_url":"https://api.github.com/users/c2h5oh/events{/privacy}","received_events_url":"https://api.github.com/users/c2h5oh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/developit/preact/milestones/8","html_url":"https://github.com/developit/preact/milestones/5.7","labels_url":"https://api.github.com/repos/developit/preact/milestones/8/labels","id":1921400,"number":8,"title":"5.7","description":null,"creator":{"login":"developit","id":105127,"avatar_url":"https://avatars.githubusercontent.com/u/105127?v=3","gravatar_id":"","url":"https://api.github.com/users/developit","html_url":"https://github.com/developit","followers_url":"https://api.github.com/users/developit/followers","following_url":"https://api.github.com/users/developit/following{/other_user}","gists_url":"https://api.github.com/users/developit/gists{/gist_id}","starred_url":"https://api.github.com/users/developit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developit/subscriptions","organizations_url":"https://api.github.com/users/developit/orgs","repos_url":"https://api.github.com/users/developit/repos","events_url":"https://api.github.com/users/developit/events{/privacy}","received_events_url":"https://api.github.com/users/developit/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2016-08-03T16:42:11Z","updated_at":"2016-08-18T17:29:20Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-08-18T14:31:29Z","updated_at":"2016-08-19T02:23:00Z","closed_at":"2016-08-18T16:15:02Z","pull_request":{"url":"https://api.github.com/repos/developit/preact/pulls/275","html_url":"https://github.com/developit/preact/pull/275","diff_url":"https://github.com/developit/preact/pull/275.diff","patch_url":"https://github.com/developit/preact/pull/275.patch"},"body":"See: https://jsfiddle.net/c2h5oh/rr9b6Leb/1/\r\n\r\nstring.match: 3,418,862 ops/sec ±2.79% \r\nchar compare: 38,104,121 ops/sec ±2.67%"},"comment":{"url":"https://api.github.com/repos/developit/preact/issues/comments/240911175","html_url":"https://github.com/developit/preact/pull/275#issuecomment-240911175","issue_url":"https://api.github.com/repos/developit/preact/issues/275","id":240911175,"user":{"login":"c2h5oh","id":446070,"avatar_url":"https://avatars.githubusercontent.com/u/446070?v=3","gravatar_id":"","url":"https://api.github.com/users/c2h5oh","html_url":"https://github.com/c2h5oh","followers_url":"https://api.github.com/users/c2h5oh/followers","following_url":"https://api.github.com/users/c2h5oh/following{/other_user}","gists_url":"https://api.github.com/users/c2h5oh/gists{/gist_id}","starred_url":"https://api.github.com/users/c2h5oh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c2h5oh/subscriptions","organizations_url":"https://api.github.com/users/c2h5oh/orgs","repos_url":"https://api.github.com/users/c2h5oh/repos","events_url":"https://api.github.com/users/c2h5oh/events{/privacy}","received_events_url":"https://api.github.com/users/c2h5oh/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T02:22:59Z","updated_at":"2016-08-19T02:22:59Z","body":"Chrome:\r\nstring.test x 6,396,455 ops/sec ±1.77% (62 runs sampled)\r\nstring.match x 7,144,616 ops/sec ±0.85% (65 runs sampled)\r\ncompare x 61,874,254 ops/sec ±1.14% (66 runs sampled)\r\nindexOf x 8,455,225 ops/sec ±0.24% (65 runs sampled)\r\nslice x 20,736,922 ops/sec ±0.77% (65 runs sampled)\r\nsubstring x 20,574,470 ops/sec ±0.79% (65 runs sampled)\r\n\r\nFirefox:\r\nstring.test x 2,992,271 ops/sec ±3.24% (38 runs sampled)\r\nstring.match x 6,534,201 ops/sec ±0.23% (39 runs sampled)\r\ncompare x 110,410,806 ops/sec ±0.61% (40 runs sampled)\r\nindexOf x 15,570,957 ops/sec ±0.28% (40 runs sampled)\r\nslice x 2,457,230,954 ops/sec ±0.98% (36 runs sampled)\r\nsubstring x 613,989,844 ops/sec ±2.79% (30 runs sampled)"}}
{"actor":{"display_login":"c2h5oh"}}