diff options
author | 2016-03-24 19:15:38 +0800 | |
---|---|---|
committer | 2016-03-24 19:15:38 +0800 | |
commit | 27cdee65fd350454f38f6a7aa51b84004bedc367 (patch) | |
tree | 07c6251171a70ec1cc9f88fc3d7dc677271a52b3 /benchmark/scoped-primitive-array/src | |
parent | 0ced281ae6216c29f57ca0f8b7388a722e8da97b (diff) |
Fix the benchmark fail by caliper's change
Change-Id: I59ac37ced165b02873f55b5b777e9f1aa97b92c5
Diffstat (limited to 'benchmark/scoped-primitive-array/src')
-rw-r--r-- | benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java | 4 |
1 files changed, 1 insertions, 3 deletions
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); |