MCPcopy Create free account
hub / github.com/grpc/grpc-java / codeDecode

Method codeDecode

api/src/jmh/java/io/grpc/StatusBenchmark.java:87–92  ·  view source on GitHub ↗

Javadoc comment.

()

Source from the content-addressed store, hash-verified

85 * Javadoc comment.
86 */
87 @Benchmark
88 @BenchmarkMode(Mode.SampleTime)
89 @OutputTimeUnit(TimeUnit.NANOSECONDS)
90 public Status codeDecode() {
91 return Status.CODE_KEY.parseBytes("15".getBytes(Charset.forName("US-ASCII")));
92 }
93}
94

Callers

nothing calls this directly

Calls 3

getBytesMethod · 0.80
parseBytesMethod · 0.65
forNameMethod · 0.45

Tested by

no test coverage detected