mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[indexes] IJPL-160177: use 1 shard for <=16 cores
- '2 shards if cores >=16' => '2 shards if cores > 16' -- bechmarks show zero-to-no benefit of sharding for 16 cores GitOrigin-RevId: 9a846e34749cda1c4b801690de786bf4dab44326
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4d5d25ed51
commit
a4fcefbfac
+1
-1
@@ -38,7 +38,7 @@ public interface ShardableIndexExtension {
|
||||
// - 16-cores show little-to-no benefits from sharding
|
||||
// - 32-cores show some benefit from 2 shards
|
||||
// - 64..128-cores show better benefits from 3 shards.
|
||||
if (cpus < 16) {
|
||||
if (cpus <= 16) {
|
||||
return 1;
|
||||
}
|
||||
else if (cpus <= 32) {
|
||||
|
||||
Reference in New Issue
Block a user