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

3.4 Improvement - show executed 0ms nodes as 1ms #62

Conversation

ivaylo-matov
Copy link
Contributor

Small PR to address one of the points for improvement in this Mural board (don't think there is a JIRA ticket for this) :

"3. Displaying executed nodes with 0 ms as 1 ms, as discussed in Slack."

In OnNodeExecutionEnd, the TimeSpan value is now rounded and directly assigned to ExecutionMilliseconds as an integer. Total group execution times are calculated as the sum of these integer values rather than exact TimeSpan values. Consequently, the GroupExecutionTime and ExecutionTime properties are now obsolete and removed.

Screenshot 2024-09-24 180251

/// </summary>
public TimeSpan ExecutionTime
public int ExecutionMilliseconds
Copy link
Contributor

Choose a reason for hiding this comment

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

This would be an API break, changing name or return type of public property.

/// </summary>
public int ExecutionMilliseconds
public int GroupExecutionMilliseconds
Copy link
Contributor

Choose a reason for hiding this comment

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

This too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I think this should be okay now.

@reddyashish reddyashish merged commit 0d3fb44 into DynamoDS:master Oct 3, 2024
10 checks passed
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