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 performance for large selection #2213

Merged

Conversation

Bananeweizen
Copy link
Contributor

In a custom RCP application I noticed that selecting a huge amount of files (by holding Shift-Scroll down for some seconds) gets slower with the growing size of the selection.

We should short-circuit the evaluation the moment the overall result is known to be false.

Copy link
Contributor

github-actions bot commented Aug 22, 2024

Test Results

 1 815 files  ±0   1 815 suites  ±0   1h 32m 17s ⏱️ - 11m 46s
 7 699 tests ±0   7 471 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 258 runs  ±0  23 511 ✅ ±0  747 💤 ±0  0 ❌ ±0 

Results for commit ba59154. ± Comparison against base commit 8d647ea.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@jukzi jukzi left a comment

Choose a reason for hiding this comment

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

lgtm

In a custom RCP application I noticed that selecting a huge amount of
files (by holding Shift-Scroll down for some seconds) gets slower with
the growing size of the selection.

We should short-circuit the evaluation the moment the overall result is
known to be false.
@Bananeweizen Bananeweizen merged commit fe9d7e2 into eclipse-platform:master Sep 18, 2024
16 checks passed
@Bananeweizen Bananeweizen deleted the performance_selection branch September 18, 2024 18:19
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