Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for read300BytesExample (0.08 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

        }
    
        private BytesReference read300BytesExample() throws IOException {
            return Streams.readFully(FetchSourcePhaseBenchmark.class.getResourceAsStream("300b_example.json"));
        }
    
        private BytesReference buildBigExample(String extraText) throws IOException {
            String bigger = read300BytesExample().utf8ToString();
            bigger = "{\"huge\": \"" + extraText + "\"," + bigger.substring(1);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
Back to Top