Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import from Chrome < 69 when there are multiple profiles #161

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

jlfwong
Copy link
Owner

@jlfwong jlfwong commented Sep 12, 2018

It seems like #160 accidentally broken import of profiles in some circumstances from Chrome < 69. Before #160, we always took the first profile in the list but the profiles were not sorted chronologically. After #160 but before this PR, we were taking the chronologically first.

After this PR, we always take the chronologically last CpuProfile event in the trace.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 42.576% when pulling 0d2fd81 on jlfwong/chrome-68-fix into 3ba60a4 on master.

@jlfwong jlfwong changed the title Fix import from Chrome 68 when there are multiple profiles Fix import from Chrome < 69 when there are multiple profiles Sep 13, 2018
@jlfwong jlfwong merged commit ee0c2c5 into master Sep 13, 2018
@jlfwong jlfwong deleted the jlfwong/chrome-68-fix branch September 13, 2018 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants