Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for measureAllocation (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

                .nodes(nb)
                .build();
        }
    
        private int toInt(String v) {
            return Integer.valueOf(v.trim());
        }
    
        @Benchmark
        public ClusterState measureAllocation() {
            ClusterState clusterState = initialClusterState;
            while (clusterState.getRoutingNodes().hasUnassignedShards()) {
                clusterState = strategy.applyStartedShards(
                    clusterState,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
Back to Top