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

Feat: Reduce API calls while running a test #835

Merged

Conversation

crazyplayy
Copy link
Contributor

Description

By creating a new component to handle the metrics fetching, it is possible to reduce the number of calls made to the API. After refactoring OverviewMetrics, RunSummaryTable, and ResponseCodes the number of API calls was reduced to just 2 at each 5 seconds by default. Issue #381 was also fixed due to this refactoring. Now all the metrics in the Summary and Errors tab are updated in real-time at 5 second intervals in pair with the OverviewMetrics.

Closes #834 #381

Checklist

  • The commit message follows our guidelines
  • Tests for the respective changes have been added
  • The labels and/or milestones were added

@crazyplayy crazyplayy added enhancement Enhancement of an existing feature refactoring frontend labels Sep 26, 2023
@crazyplayy crazyplayy added this to the v1.0.0 milestone Sep 26, 2023
@crazyplayy crazyplayy self-assigned this Sep 26, 2023
@crazyplayy crazyplayy force-pushed the 834-refactor-runsummarytable-and-overviewmetrics-code branch from 035a9ff to ccc76d0 Compare September 27, 2023 10:35
@crazyplayy crazyplayy merged commit 95d3642 into master Oct 6, 2023
8 checks passed
@crazyplayy crazyplayy deleted the 834-refactor-runsummarytable-and-overviewmetrics-code branch October 6, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of an existing feature frontend refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor RunSummaryTable and OverviewMetrics code Summary Page showing data outdated after the first load
2 participants