{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/309","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/309/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/309/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/309","id":250777332,"number":309,"title":"Is there a way to measure page performance?","user":{"login":"inikulin","id":453071,"avatar_url":"https://avatars1.githubusercontent.com/u/453071?v=4","gravatar_id":"","url":"https://api.github.com/users/inikulin","html_url":"https://github.com/inikulin","followers_url":"https://api.github.com/users/inikulin/followers","following_url":"https://api.github.com/users/inikulin/following{/other_user}","gists_url":"https://api.github.com/users/inikulin/gists{/gist_id}","starred_url":"https://api.github.com/users/inikulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inikulin/subscriptions","organizations_url":"https://api.github.com/users/inikulin/orgs","repos_url":"https://api.github.com/users/inikulin/repos","events_url":"https://api.github.com/users/inikulin/events{/privacy}","received_events_url":"https://api.github.com/users/inikulin/received_events","type":"User","site_admin":false},"labels":[{"id":601668532,"url":"https://api.github.com/repos/GoogleChrome/puppeteer/labels/feature","name":"feature","color":"1d76db","default":false},{"id":671775032,"url":"https://api.github.com/repos/GoogleChrome/puppeteer/labels/M1","name":"M1","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"a1ph","id":5192288,"avatar_url":"https://avatars0.githubusercontent.com/u/5192288?v=4","gravatar_id":"","url":"https://api.github.com/users/a1ph","html_url":"https://github.com/a1ph","followers_url":"https://api.github.com/users/a1ph/followers","following_url":"https://api.github.com/users/a1ph/following{/other_user}","gists_url":"https://api.github.com/users/a1ph/gists{/gist_id}","starred_url":"https://api.github.com/users/a1ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1ph/subscriptions","organizations_url":"https://api.github.com/users/a1ph/orgs","repos_url":"https://api.github.com/users/a1ph/repos","events_url":"https://api.github.com/users/a1ph/events{/privacy}","received_events_url":"https://api.github.com/users/a1ph/received_events","type":"User","site_admin":false},"assignees":[{"login":"a1ph","id":5192288,"avatar_url":"https://avatars0.githubusercontent.com/u/5192288?v=4","gravatar_id":"","url":"https://api.github.com/users/a1ph","html_url":"https://github.com/a1ph","followers_url":"https://api.github.com/users/a1ph/followers","following_url":"https://api.github.com/users/a1ph/following{/other_user}","gists_url":"https://api.github.com/users/a1ph/gists{/gist_id}","starred_url":"https://api.github.com/users/a1ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1ph/subscriptions","organizations_url":"https://api.github.com/users/a1ph/orgs","repos_url":"https://api.github.com/users/a1ph/repos","events_url":"https://api.github.com/users/a1ph/events{/privacy}","received_events_url":"https://api.github.com/users/a1ph/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-08-16T22:23:02Z","updated_at":"2017-08-25T20:47:41Z","closed_at":null,"body":"Is there a way to get numbers for time before `DOMContentLoaded` and `load` events? First paint time would be nice as well. I see that there is `page.tracing` API, but it produces Chrome trace file. For my task I need only two numbers mentioned above and in format that I can easily parse (e.g. JSON) and without necessity for disk I/O. Something like `page.getMetrics() -> Promise<{DOMContentLoadedTime, loadTime}>`."},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/325030777","html_url":"https://github.com/GoogleChrome/puppeteer/issues/309#issuecomment-325030777","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/309","id":325030777,"user":{"login":"daliborgogic","id":5895389,"avatar_url":"https://avatars3.githubusercontent.com/u/5895389?v=4","gravatar_id":"","url":"https://api.github.com/users/daliborgogic","html_url":"https://github.com/daliborgogic","followers_url":"https://api.github.com/users/daliborgogic/followers","following_url":"https://api.github.com/users/daliborgogic/following{/other_user}","gists_url":"https://api.github.com/users/daliborgogic/gists{/gist_id}","starred_url":"https://api.github.com/users/daliborgogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daliborgogic/subscriptions","organizations_url":"https://api.github.com/users/daliborgogic/orgs","repos_url":"https://api.github.com/users/daliborgogic/repos","events_url":"https://api.github.com/users/daliborgogic/events{/privacy}","received_events_url":"https://api.github.com/users/daliborgogic/received_events","type":"User","site_admin":false},"created_at":"2017-08-25T20:47:41Z","updated_at":"2017-08-25T20:47:41Z","body":"If you need `chrome` set `headless` to `false` \r\n```javascript\r\nconst browser = await headless.launch({\r\n  headless: false\r\n})\r\n```"}}
{"actor":{"display_login":"daliborgogic"}}