From 27cdee65fd350454f38f6a7aa51b84004bedc367 Mon Sep 17 00:00:00 2001 From: bowen_lai Date: Thu, 24 Mar 2016 19:15:38 +0800 Subject: Fix the benchmark fail by caliper's change Change-Id: I59ac37ced165b02873f55b5b777e9f1aa97b92c5 --- .../scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java') diff --git a/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java b/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java index be276fe48c..0ad9c36950 100644 --- a/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java +++ b/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java @@ -14,9 +14,7 @@ * limitations under the License. */ -import com.google.caliper.SimpleBenchmark; - -public class ScopedPrimitiveArrayBenchmark extends SimpleBenchmark { +public class ScopedPrimitiveArrayBenchmark { // Measure adds the first and last element of the array by using ScopedPrimitiveArray. static native long measureByteArray(int reps, byte[] arr); static native long measureShortArray(int reps, short[] arr); -- cgit v1.2.3-59-g8ed1b