From 72856abfd5c0cd24542bd2ec4f26785d99683c7b Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 11 Jan 2018 10:45:24 +0000 Subject: COMPMID-786: Remove all the fill() calls in benchmarks Filling buffers with random data takes a significant amount of time and in most cases doesn't affect the performance We will therefore only keep fill() in the functions for which it matters Change-Id: Ica34fe09941f27d6f0417f33176847febf722bc3 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/115892 Tested-by: Jenkins Reviewed-by: Gian Marco Iodice --- tests/benchmark/fixtures/DepthConcatenateLayerFixture.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tests/benchmark/fixtures/DepthConcatenateLayerFixture.h') diff --git a/tests/benchmark/fixtures/DepthConcatenateLayerFixture.h b/tests/benchmark/fixtures/DepthConcatenateLayerFixture.h index 523a41b8be..bd4b404fc7 100644 --- a/tests/benchmark/fixtures/DepthConcatenateLayerFixture.h +++ b/tests/benchmark/fixtures/DepthConcatenateLayerFixture.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -110,12 +110,6 @@ public: } _dst.allocator()->allocate(); - - int i = 0; - for(auto &src : _srcs) - { - library->fill_tensor_uniform(AccessorType(src), i++); - } } void run() -- cgit v1.2.1