summaryrefslogtreecommitdiff
path: root/benchmark/scoped-primitive-array/src
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2016-05-16 10:10:34 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-05-16 10:10:34 +0000
commit92f9d53e988087277bb82203d36fdd8bcfbe9142 (patch)
treec2fbb6239ef64adecfc722e46fd6895a12db7735 /benchmark/scoped-primitive-array/src
parentfbb0323d801cd14fb04eb4af7e88792d7cca8de3 (diff)
parent27cdee65fd350454f38f6a7aa51b84004bedc367 (diff)
Merge "Fix the benchmark fail by caliper's change"
Diffstat (limited to 'benchmark/scoped-primitive-array/src')
-rw-r--r--benchmark/scoped-primitive-array/src/ScopedPrimitiveArrayBenchmark.java4
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);