commit | 27cdee65fd350454f38f6a7aa51b84004bedc367 | [log] [tgz] |
---|---|---|
author | bowen_lai <bowen_lai@htc.com> | Thu Mar 24 19:15:38 2016 +0800 |
committer | bowen_lai <bowen_lai@htc.com> | Thu Mar 24 19:15:38 2016 +0800 |
tree | 07c6251171a70ec1cc9f88fc3d7dc677271a52b3 | |
parent | 0ced281ae6216c29f57ca0f8b7388a722e8da97b [diff] [blame] |
Fix the benchmark fail by caliper's change Change-Id: I59ac37ced165b02873f55b5b777e9f1aa97b92c5
diff --git a/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java b/benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java index be276fe..0ad9c36 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);