{"action":"created","issue":{"url":"https://api.github.com/repos/macbre/phantomas/issues/477","labels_url":"https://api.github.com/repos/macbre/phantomas/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/macbre/phantomas/issues/477/comments","events_url":"https://api.github.com/repos/macbre/phantomas/issues/477/events","html_url":"https://github.com/macbre/phantomas/issues/477","id":55480076,"number":477,"title":"DNS and Connect timings","user":{"login":"gnublin","id":1324409,"avatar_url":"https://avatars.githubusercontent.com/u/1324409?v=3","gravatar_id":"","url":"https://api.github.com/users/gnublin","html_url":"https://github.com/gnublin","followers_url":"https://api.github.com/users/gnublin/followers","following_url":"https://api.github.com/users/gnublin/following{/other_user}","gists_url":"https://api.github.com/users/gnublin/gists{/gist_id}","starred_url":"https://api.github.com/users/gnublin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnublin/subscriptions","organizations_url":"https://api.github.com/users/gnublin/orgs","repos_url":"https://api.github.com/users/gnublin/repos","events_url":"https://api.github.com/users/gnublin/events{/privacy}","received_events_url":"https://api.github.com/users/gnublin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/macbre/phantomas/labels/new%20metric","name":"new metric","color":"009800"},{"url":"https://api.github.com/repos/macbre/phantomas/labels/slimerjs-only","name":"slimerjs-only","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/macbre/phantomas/milestones/26","html_url":"https://github.com/macbre/phantomas/milestones/v1.13","labels_url":"https://api.github.com/repos/macbre/phantomas/milestones/26/labels","id":1302560,"number":26,"title":"v1.13","description":"","creator":{"login":"macbre","id":1929317,"avatar_url":"https://avatars.githubusercontent.com/u/1929317?v=3","gravatar_id":"","url":"https://api.github.com/users/macbre","html_url":"https://github.com/macbre","followers_url":"https://api.github.com/users/macbre/followers","following_url":"https://api.github.com/users/macbre/following{/other_user}","gists_url":"https://api.github.com/users/macbre/gists{/gist_id}","starred_url":"https://api.github.com/users/macbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbre/subscriptions","organizations_url":"https://api.github.com/users/macbre/orgs","repos_url":"https://api.github.com/users/macbre/repos","events_url":"https://api.github.com/users/macbre/events{/privacy}","received_events_url":"https://api.github.com/users/macbre/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":7,"state":"open","created_at":"2015-09-12T18:21:05Z","updated_at":"2015-10-17T13:37:31Z","due_on":"2015-10-30T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-01-26T13:06:10Z","updated_at":"2015-10-18T09:31:25Z","closed_at":null,"body":"Hello,\r\n\r\nDo you have an option to get DNS and Connect time ? (like performance.timing value)\r\n\r\nRegards,\r\nGnublin."},"comment":{"url":"https://api.github.com/repos/macbre/phantomas/issues/comments/148995096","html_url":"https://github.com/macbre/phantomas/issues/477#issuecomment-148995096","issue_url":"https://api.github.com/repos/macbre/phantomas/issues/477","id":148995096,"user":{"login":"macbre","id":1929317,"avatar_url":"https://avatars.githubusercontent.com/u/1929317?v=3","gravatar_id":"","url":"https://api.github.com/users/macbre","html_url":"https://github.com/macbre","followers_url":"https://api.github.com/users/macbre/followers","following_url":"https://api.github.com/users/macbre/following{/other_user}","gists_url":"https://api.github.com/users/macbre/gists{/gist_id}","starred_url":"https://api.github.com/users/macbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbre/subscriptions","organizations_url":"https://api.github.com/users/macbre/orgs","repos_url":"https://api.github.com/users/macbre/repos","events_url":"https://api.github.com/users/macbre/events{/privacy}","received_events_url":"https://api.github.com/users/macbre/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T09:31:25Z","updated_at":"2015-10-18T09:31:25Z","body":"Introduce `performanceTiming` module with the following metrics:\r\n\r\n* `timingDNS`\r\n* `timingConnect`\r\n\r\n```js\r\n// Navigation Timing\r\nvar t = performance.timing,\r\n    pageloadtime = t.loadEventStart - t.navigationStart,\r\n    dns = t.domainLookupEnd - t.domainLookupStart,\r\n    tcp = t.connectEnd - t.connectStart,\r\n    ttfb = t.responseStart - t.navigationStart;\r\n```\r\n\r\nhttp://www.stevesouders.com/blog/2014/08/21/resource-timing-practical-tips/"}}