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

[scheduler][profiler] Start time of delayed tasks #16809

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Sep 17, 2019

Fixes a bug in the Scheduler profiler where the start time of a delayed tasks is always 0.

Fixes a bug in the Scheduler profiler where the start time of a delayed
tasks is always 0.
@@ -91,7 +91,7 @@ function advanceTimers(currentTime) {
timer.sortIndex = timer.expirationTime;
push(taskQueue, timer);
if (enableProfiling) {
markTaskStart(timer);
markTaskStart(timer, currentTime);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's time to add Flow back to this file :D

@sizebot
Copy link

sizebot commented Sep 17, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against dea77ee

@acdlite acdlite merged commit 901139c into facebook:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants