{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/comments/173016126","pull_request_review_id":102134445,"id":173016126,"diff_hunk":"@@ -0,0 +1,139 @@\n+import { HighResTimer, calculateElapsedTime } from \"./utils\";\n+import { EventEmitter } from \"events\";\n+\n+export type TimingsReport = {[stepName: string]: [number] | number};\n+\n+export const stepStartedEventName = 'stepStarted';\n+export const milestoneReachedEventName = 'milestoneReached';\n+\n+export interface StepStartedEventArguments {\n+    stepName: string;\n+}\n+\n+export interface MilestoneReachedEventArguments {\n+    milestoneName: string;\n+}\n+\n+export interface ObservableEvents<T> { // Normally T will be an EventEmitter\n+    Events: T;\n+}\n+\n+export interface StepStartedEventsEmitter {\n+    on(event: 'stepStarted', listener: (args: StepStartedEventArguments) => void): this;\n+    on(event: 'milestoneReached', listener: (args: MilestoneReachedEventArguments) => void): this;\n+}\n+\n+export interface NavigatedToUserRequestedUrlEventsEmitter {\n+    on(event: 'navigatedToUserRequestedUrl', listener: () => void): this;\n+    once(event: 'navigatedToUserRequestedUrl', listener: () => void): this;\n+}\n+\n+export class StepProgressEventsEmitter extends EventEmitter {\n+    constructor(private readonly _nestedEmitters: [StepStartedEventsEmitter] = [] as [StepStartedEventsEmitter]) {\n+        super();\n+    }\n+\n+    public emitStepStarted(stepName: string): void {\n+        this.emit(stepStartedEventName, { stepName: stepName } as StepStartedEventArguments);\n+    }\n+\n+    public emitMilestoneReached(milestoneName: string): void {","path":"src/executionTimingsReporter.ts","position":40,"original_position":40,"commit_id":"140db4de115b5a507bb420f1f7b704c97a7401fd","original_commit_id":"140db4de115b5a507bb420f1f7b704c97a7401fd","user":{"login":"digeff","id":14098140,"avatar_url":"https://avatars1.githubusercontent.com/u/14098140?v=4","gravatar_id":"","url":"https://api.github.com/users/digeff","html_url":"https://github.com/digeff","followers_url":"https://api.github.com/users/digeff/followers","following_url":"https://api.github.com/users/digeff/following{/other_user}","gists_url":"https://api.github.com/users/digeff/gists{/gist_id}","starred_url":"https://api.github.com/users/digeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digeff/subscriptions","organizations_url":"https://api.github.com/users/digeff/orgs","repos_url":"https://api.github.com/users/digeff/repos","events_url":"https://api.github.com/users/digeff/events{/privacy}","received_events_url":"https://api.github.com/users/digeff/received_events","type":"User","site_admin":false},"body":"This will be used in configurationDone in vscode-chrome-debug","created_at":"2018-03-07T23:13:43Z","updated_at":"2018-03-07T23:13:43Z","html_url":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301#discussion_r173016126","pull_request_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/comments/173016126"},"html":{"href":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301#discussion_r173016126"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301"}},"in_reply_to_id":173008545},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301","id":173564058,"html_url":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301","diff_url":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301.diff","patch_url":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301.patch","issue_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/301","number":301,"state":"open","locked":false,"title":"Now we report the times of the different tasks that happen until we launch and show the user page","user":{"login":"digeff","id":14098140,"avatar_url":"https://avatars1.githubusercontent.com/u/14098140?v=4","gravatar_id":"","url":"https://api.github.com/users/digeff","html_url":"https://github.com/digeff","followers_url":"https://api.github.com/users/digeff/followers","following_url":"https://api.github.com/users/digeff/following{/other_user}","gists_url":"https://api.github.com/users/digeff/gists{/gist_id}","starred_url":"https://api.github.com/users/digeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digeff/subscriptions","organizations_url":"https://api.github.com/users/digeff/orgs","repos_url":"https://api.github.com/users/digeff/repos","events_url":"https://api.github.com/users/digeff/events{/privacy}","received_events_url":"https://api.github.com/users/digeff/received_events","type":"User","site_admin":false},"body":"Now we report the times of the different tasks that happen until we launch and show the user page","created_at":"2018-03-07T20:25:24Z","updated_at":"2018-03-07T23:13:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4176d70067320fa3147b60cdb52cea2d3ef1e89a","assignee":{"login":"roblourens","id":323878,"avatar_url":"https://avatars3.githubusercontent.com/u/323878?v=4","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"assignees":[{"login":"roblourens","id":323878,"avatar_url":"https://avatars3.githubusercontent.com/u/323878?v=4","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/301/comments","statuses_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/statuses/140db4de115b5a507bb420f1f7b704c97a7401fd","head":{"label":"digeff:launch_timings_telemetry_master","ref":"launch_timings_telemetry_master","sha":"140db4de115b5a507bb420f1f7b704c97a7401fd","user":{"login":"digeff","id":14098140,"avatar_url":"https://avatars1.githubusercontent.com/u/14098140?v=4","gravatar_id":"","url":"https://api.github.com/users/digeff","html_url":"https://github.com/digeff","followers_url":"https://api.github.com/users/digeff/followers","following_url":"https://api.github.com/users/digeff/following{/other_user}","gists_url":"https://api.github.com/users/digeff/gists{/gist_id}","starred_url":"https://api.github.com/users/digeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digeff/subscriptions","organizations_url":"https://api.github.com/users/digeff/orgs","repos_url":"https://api.github.com/users/digeff/repos","events_url":"https://api.github.com/users/digeff/events{/privacy}","received_events_url":"https://api.github.com/users/digeff/received_events","type":"User","site_admin":false},"repo":{"id":96152089,"name":"vscode-chrome-debug-core","full_name":"digeff/vscode-chrome-debug-core","owner":{"login":"digeff","id":14098140,"avatar_url":"https://avatars1.githubusercontent.com/u/14098140?v=4","gravatar_id":"","url":"https://api.github.com/users/digeff","html_url":"https://github.com/digeff","followers_url":"https://api.github.com/users/digeff/followers","following_url":"https://api.github.com/users/digeff/following{/other_user}","gists_url":"https://api.github.com/users/digeff/gists{/gist_id}","starred_url":"https://api.github.com/users/digeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digeff/subscriptions","organizations_url":"https://api.github.com/users/digeff/orgs","repos_url":"https://api.github.com/users/digeff/repos","events_url":"https://api.github.com/users/digeff/events{/privacy}","received_events_url":"https://api.github.com/users/digeff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/digeff/vscode-chrome-debug-core","description":"A library for implementing VS Code debug adapters for targets that implement the Chrome Debugging Protocol.","fork":true,"url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core","forks_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/forks","keys_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/teams","hooks_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/hooks","issue_events_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/issues/events{/number}","events_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/events","assignees_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/assignees{/user}","branches_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/branches{/branch}","tags_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/tags","blobs_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/statuses/{sha}","languages_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/languages","stargazers_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/stargazers","contributors_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/contributors","subscribers_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/subscribers","subscription_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/subscription","commits_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/contents/{+path}","compare_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/merges","archive_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/downloads","issues_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/issues{/number}","pulls_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/pulls{/number}","milestones_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/milestones{/number}","notifications_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/labels{/name}","releases_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/releases{/id}","deployments_url":"https://api.github.com/repos/digeff/vscode-chrome-debug-core/deployments","created_at":"2017-07-03T21:32:15Z","updated_at":"2017-07-03T21:32:16Z","pushed_at":"2018-03-07T20:24:52Z","git_url":"git://github.com/digeff/vscode-chrome-debug-core.git","ssh_url":"git@github.com:digeff/vscode-chrome-debug-core.git","clone_url":"https://github.com/digeff/vscode-chrome-debug-core.git","svn_url":"https://github.com/digeff/vscode-chrome-debug-core","homepage":"","size":36928,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"b8068958b2ff3e6af4f21f8061a562cd9060ed58","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":56088006,"name":"vscode-chrome-debug-core","full_name":"Microsoft/vscode-chrome-debug-core","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vscode-chrome-debug-core","description":"A library for implementing VS Code debug adapters for targets that implement the Chrome Debugging Protocol.","fork":false,"url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core","forks_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/forks","keys_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/teams","hooks_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/events","assignees_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/tags","blobs_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/subscription","commits_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/merges","archive_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/downloads","issues_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/deployments","created_at":"2016-04-12T18:30:31Z","updated_at":"2018-02-21T22:52:47Z","pushed_at":"2018-03-07T20:25:24Z","git_url":"git://github.com/Microsoft/vscode-chrome-debug-core.git","ssh_url":"git@github.com:Microsoft/vscode-chrome-debug-core.git","clone_url":"https://github.com/Microsoft/vscode-chrome-debug-core.git","svn_url":"https://github.com/Microsoft/vscode-chrome-debug-core","homepage":"","size":12144,"stargazers_count":47,"watchers_count":47,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":59,"open_issues":45,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301"},"html":{"href":"https://github.com/Microsoft/vscode-chrome-debug-core/pull/301"},"issue":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/301"},"comments":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vscode-chrome-debug-core/statuses/140db4de115b5a507bb420f1f7b704c97a7401fd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"digeff"}}