{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/performance-timeline/issues/12","labels_url":"https://api.github.com/repos/w3c/performance-timeline/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/w3c/performance-timeline/issues/12/comments","events_url":"https://api.github.com/repos/w3c/performance-timeline/issues/12/events","html_url":"https://github.com/w3c/performance-timeline/pull/12","id":75303292,"number":12,"title":"(WIP) Observer-based processing","user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-11T17:47:15Z","updated_at":"2015-08-19T22:36:15Z","closed_at":"2015-08-19T22:36:15Z","pull_request":{"url":"https://api.github.com/repos/w3c/performance-timeline/pulls/12","html_url":"https://github.com/w3c/performance-timeline/pull/12","diff_url":"https://github.com/w3c/performance-timeline/pull/12.diff","patch_url":"https://github.com/w3c/performance-timeline/pull/12.patch"},"body":"Performance Timeline does not specify any processing steps, or provide hooks to other interfaces, to register and emit new metrics. This pull seeks to address both of these. Preview:\r\n\r\nhttps://rawgit.com/w3c/performance-timeline/observer-processing/index.html#performance-timeline\r\n\r\nAfter a few attempts at different language, I'm proposing that we define processing in terms of interaction with the `PerformanceObserver` interface: register -> (optional) buffer -> notify. The old `Performance` interface can be polyfilled directly on top of `PerformanceObserver` via JavaScript, either by the UA or the application - e.g. subscribe to each supported metric type, apply relevant buffering strategy, etc.\r\n\r\nThoughts, comments?"},"comment":{"url":"https://api.github.com/repos/w3c/performance-timeline/issues/comments/132810967","html_url":"https://github.com/w3c/performance-timeline/pull/12#issuecomment-132810967","issue_url":"https://api.github.com/repos/w3c/performance-timeline/issues/12","id":132810967,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T22:36:15Z","updated_at":"2015-08-19T22:36:15Z","body":"Closing. Superseded by https://github.com/w3c/performance-timeline/pull/46."}}