Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:benchmark

60       System.err.println("e.g. com.google.protocolbuffers.benchmark.Message1");
104 benchmark("Serialize to byte string", inputData.length, new Action() {
107 benchmark("Serialize to byte array", inputData.length, new Action() {
110 benchmark("Serialize to memory stream", inputData.length, new Action() {
116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() {
121 benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() {
128 benchmark("Deserialize from byte string", inputData.length, new Action() {
133 benchmark("Deserialize from byte array", inputData.length, new Action() {
139 benchmark("Deserialize from memory stream", inputData.length, new Action() {
156 private static void benchmark(String name, long dataSize, Action action) throws IOException {
198 * Interface used to capture a single action to benchmark.