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

Improve cluster sorting speed #1429

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Conversation

Kr0nox
Copy link
Member

@Kr0nox Kr0nox commented Dec 8, 2023

This PR improves the speed of the cluster sorting.
Previously it was slow, because when it was enabled, the report-viewer iterated over all comparisons and checked for every cluster whether it applied to this comparison. Due to the function for this being called in every comparsion during the sort method, it was slow.

Now the cluster fitting to a comparison gets added to its object on parsing the json, which takes the load from the moment where the table gets sorted

@Kr0nox Kr0nox added the report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies label Dec 8, 2023
Copy link

sonarcloud bot commented Dec 8, 2023

[JPlag Report Viewer] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Kr0nox Kr0nox added this to the v5.0.0 milestone Dec 8, 2023
@tsaglam tsaglam added bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change labels Dec 11, 2023
@tsaglam tsaglam merged commit 7943b89 into develop Dec 11, 2023
17 checks passed
@tsaglam tsaglam deleted the report-viewer/improve-cluster-sorting branch December 11, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue/PR that involves a bug minor Minor issue/feature/contribution/change report-viewer PR / Issue deals (partly) with the report viewer and thus involves web-dev technologies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants