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: analysis total time overstated - show max time #541

Merged

Conversation

lukecotter
Copy link
Contributor

Description

Changes the TotalTime column to show max time.

This is more accurate but will not show an accurate number until we change the logic to sum unique paths in the stack.
Filtering could easily break this.

For example filter by namespace and now the only two methods in the analysis are siblings
Method 1 in pkg1 calls to Method2 and Method 3 in pkg2
Filter by pkg2 and both Method2 and Method3 should be included in the total with this change only the largest will be.
There will be a follow fix to be accurate

Type of change (check all applicable)

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor
  • ⚡ Performance Improvement
  • 📝 Documentation
  • 🔧 Chore
  • 💥 Breaking change

[optional] Any images / gifs / video

Related Tickets & Documents

Related Issue #526
fixes #
resolves #
closes #

Added tests?

  • 👍 yes
  • 🙅 no, not needed
  • 🙋 no, I need help

Added to documentation?

  • 🔖 README.md
  • 🔖 CHANGELOG.md
  • 📖 help site
  • 🙅 not needed

[optional] Are there any post-deployment tasks we need to perform?

This is not 100% accurate get as we are using the max value, instead of summing unique paths in the stack.
@lcottercertinia lcottercertinia merged commit f4e4810 into certinia:main Nov 22, 2024
5 checks passed
@lukecotter lukecotter deleted the bug-analysis-total-time-overstated branch November 28, 2024 18:28
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