diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2020-03-09 10:55:40 +0000 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-03-12 13:52:15 +0000 |
commit | 470bc1eea65560d13001e60a7f7b22b12ec89bbc (patch) | |
tree | a0bfae560f2871c7b4e1518b4c8d185f4e07442c /src/runtime/GLES_COMPUTE/GCRuntimeContext.cpp | |
parent | a14817a7eee8b8cb7e5ccb6186ca01c23eec2629 (diff) | |
download | ComputeLibrary-470bc1eea65560d13001e60a7f7b22b12ec89bbc.tar.gz |
COMPMID-3069: Improve compilation time by removing regex from test framework headers
Regex is used as an implementation detail by TestFilter and libnpy,
is an expensive header to parse, and also instantiates static objects.
Move TestFilter out of Framework.h by using a partial definition and
a unique_ptr instead of storing the TestFilter by value.
Move npy.h out of AssetsLibrary.h by moving part of a template
definition into AssetsLibrary.cpp
Knocks about 15% off compilation time of small test cases (for me,
knocked .7s off 5s compilation of HogDetector.cpp)
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: I1dce18855d0752ec25b2165fddbc6861a4c55a76
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/229181
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2856
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src/runtime/GLES_COMPUTE/GCRuntimeContext.cpp')
0 files changed, 0 insertions, 0 deletions