only benchmark once

Authored by sitter on Jul 11 2019, 2:33 PM.

Description

only benchmark once

Summary:
benchmarking N times slows down the test considerably for what feels like
zero testing advantage. getting just some rough benchmark data should
be entirely sufficient for a unit test. when more detailed
benchmarking is required one can easily switch the benchmark macro

Test Plan: 6 times faster test pass

Reviewers: Plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D22402

Details

Committed
sitterJul 12 2019, 12:49 PM
Reviewer
apol
Differential Revision
D22402: only benchmark once
Parents
R871:68ccdf540ee3: always log raw exception data
Branches
Unknown
Tags
Unknown