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 "Incorrect time metrics" (#2510) #2946

Merged
merged 1 commit into from
Dec 28, 2017
Merged

Conversation

enovales
Copy link
Contributor

This is a fix for #2510 . It tracks the start and end times of operations, and then coalesces overlapping operations until only discontiguous spans remain. The durations of these spans are then used to calculate the overall time spent per category.�

@forki
Copy link
Member

forki commented Dec 27, 2017

Cool!

@matthid can you please review this?

@matthid
Copy link
Member

matthid commented Dec 27, 2017

It's a bit of a strange way of doing it and we might want to prefer DateTime.UtcNow, but it could work.
The build is red ;)

As I don't have a better suggestion at the time on how to fix this we can try it :)

@forki forki merged commit cefe1da into fsprojects:master Dec 28, 2017
@forki
Copy link
Member

forki commented Dec 28, 2017

thanks

@eriawan eriawan mentioned this pull request Jan 3, 2018
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.

None yet

3 participants