- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for BytesStreamOutput (0.2 seconds)
-
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java
@Param(value = { "10000000" }) int entries; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(Long.MAX_VALUE - i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
} @Benchmark public BytesReference filterXContentOnParser() throws IOException { BytesStreamOutput streamOutput = new BytesStreamOutput(Math.min(1024, sourceBytes.length())); XContentBuilder builder = new XContentBuilder(XContentType.JSON.xContent(), streamOutput); try (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) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java
private int dataMb; private BytesReference bytesArray; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes(); for (int i = 0; i < bytes / 8; i++) { tmp.writeLong(i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java
private int dataMb; private BytesReference pagedBytes; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes(); for (int i = 0; i < bytes / 8; i++) { tmp.writeLong(i); } pagedBytes = tmp.bytes();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
@Param(value = { "10000000" }) int entries; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); for (int i = 0; i < entries / 2; i++) { tmp.writeVInt(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVInt(Integer.MAX_VALUE - i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
@Param(value = { "10000000" }) int entries; private StreamInput streamInput; @Setup public void initResults() throws IOException { final BytesStreamOutput tmp = new BytesStreamOutput(); for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(i); } for (int i = 0; i < entries / 2; i++) { tmp.writeVLong(Long.MAX_VALUE - i); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0)