Skip to content

Fix "Incorrect time metrics" (#2510) - #2946

Merged
forki merged 1 commit into
fsprojects:masterfrom
enovales:fix_2510
Dec 28, 2017
Merged

forki merged 1 commit into
fsprojects:masterfrom
enovales:fix_2510

Conversation

@enovales

Copy link
Copy Markdown
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

forki commented Dec 27, 2017

Copy link
Copy Markdown
Member

Cool!

@matthid can you please review this?

@matthid

matthid commented Dec 27, 2017

Copy link
Copy Markdown
Member

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

forki commented Dec 28, 2017

Copy link
Copy Markdown
Member

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.

3 participants