{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/2005","repository_url":"https://api.github.com/repos/prometheus/prometheus","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/2005/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/2005/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/2005/events","html_url":"https://github.com/prometheus/prometheus/pull/2005","id":177681543,"number":2005,"title":"Microoptimise matching","user":{"login":"redbaron","id":16624,"avatar_url":"https://avatars.githubusercontent.com/u/16624?v=3","gravatar_id":"","url":"https://api.github.com/users/redbaron","html_url":"https://github.com/redbaron","followers_url":"https://api.github.com/users/redbaron/followers","following_url":"https://api.github.com/users/redbaron/following{/other_user}","gists_url":"https://api.github.com/users/redbaron/gists{/gist_id}","starred_url":"https://api.github.com/users/redbaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbaron/subscriptions","organizations_url":"https://api.github.com/users/redbaron/orgs","repos_url":"https://api.github.com/users/redbaron/repos","events_url":"https://api.github.com/users/redbaron/events{/privacy}","received_events_url":"https://api.github.com/users/redbaron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-18T22:26:27Z","updated_at":"2016-10-31T12:45:34Z","closed_at":"2016-10-05T15:26:56Z","pull_request":{"url":"https://api.github.com/repos/prometheus/prometheus/pulls/2005","html_url":"https://github.com/prometheus/prometheus/pull/2005","diff_url":"https://github.com/prometheus/prometheus/pull/2005.diff","patch_url":"https://github.com/prometheus/prometheus/pull/2005.patch"},"body":"Series of patches with minor matching optimizations.\n\nab65905 - adds BenchmarkQueryRange to measure effect of future changes\n e222d40 - avoids extra iteration over possible results, run matchers checks before adding to a result instead \n 1121364 - extracts logic which prepares candidate FPs into a separate method\n9b15a3b - adds `fpsForLabelMatchers` and `seriesForLabelMatchers` methods and uses them where appropriate \n\nBefore (as of ab65905):\n\n```\ngo test -bench BenchmarkQueryRange -run none -benchtime=10s -benchmem\n    1000      14723524 ns/op     5013534 B/op      83059 allocs/op\n```\n\nAfter:\n\n```\ngo test -bench BenchmarkQueryRange -run none -benchtime=10s -benchmem\n    1000      11553489 ns/op     4688423 B/op      82596 allocs/op\n```\n"},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/257284466","html_url":"https://github.com/prometheus/prometheus/pull/2005#issuecomment-257284466","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/2005","id":257284466,"user":{"login":"redbaron","id":16624,"avatar_url":"https://avatars.githubusercontent.com/u/16624?v=3","gravatar_id":"","url":"https://api.github.com/users/redbaron","html_url":"https://github.com/redbaron","followers_url":"https://api.github.com/users/redbaron/followers","following_url":"https://api.github.com/users/redbaron/following{/other_user}","gists_url":"https://api.github.com/users/redbaron/gists{/gist_id}","starred_url":"https://api.github.com/users/redbaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbaron/subscriptions","organizations_url":"https://api.github.com/users/redbaron/orgs","repos_url":"https://api.github.com/users/redbaron/repos","events_url":"https://api.github.com/users/redbaron/events{/privacy}","received_events_url":"https://api.github.com/users/redbaron/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T12:45:34Z","updated_at":"2016-10-31T12:45:34Z","body":"Do you still keep authors.md up to date? "}}
{"actor":{"display_login":"redbaron"}}