Commit 3f12c83
committed
Make delays depending on available processors
Currently we use a fixed delay for a given job priority, depending on
the number of jobs running and other factors this can considerably delay
some actions and make eclipse feel laggy.
This now makes these values dependent on the number of CPUs installed in
the machine, as we can assume more CPUs can do the work better in
parallel without additional sleep delays.1 parent 77879f3 commit 3f12c83
File tree
1 file changed
+18
-6
lines changed- runtime/bundles/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs
1 file changed
+18
-6
lines changedLines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
81 | 94 | | |
82 | 95 | | |
83 | 96 | | |
| |||
618 | 631 | | |
619 | 632 | | |
620 | 633 | | |
621 | | - | |
622 | 634 | | |
623 | 635 | | |
624 | | - | |
| 636 | + | |
625 | 637 | | |
626 | | - | |
| 638 | + | |
627 | 639 | | |
628 | | - | |
| 640 | + | |
629 | 641 | | |
630 | | - | |
| 642 | + | |
631 | 643 | | |
632 | | - | |
| 644 | + | |
633 | 645 | | |
634 | 646 | | |
635 | 647 | | |
| |||
0 commit comments