diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-08-30 14:01:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-31 06:33:46 -0700 |
commit | 78cd2f4e0927ca1790e030a993a309d97c70ecb6 (patch) | |
tree | dd4c410a7fa002fd43c4597a4b5df50149b6e6f6 /tests/testparseperformance.h | |
parent | 59a68fe9b5bdeb2d557a26c58e43564169fa7746 (diff) | |
download | subsurface-78cd2f4e0927ca1790e030a993a309d97c70ecb6.tar.gz |
Add performance test case
This requires the user to manually copy the large test file into the
dives directory (because I really don't want to add this to the repo);
instructions how to do that are displayed if the file is missing.
Next it uses the git version of that same file (but prefetches it to
try and remove the network speed from what is being measured).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testparseperformance.h')
-rw-r--r-- | tests/testparseperformance.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/testparseperformance.h b/tests/testparseperformance.h new file mode 100644 index 000000000..f1c0a9e43 --- /dev/null +++ b/tests/testparseperformance.h @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTPARSEPERFORMANCE_H +#define TESTPARSEPERFORMANCE_H + +#include <QtTest> + +class TestParsePerformance : public QObject { + Q_OBJECT +private slots: + void initTestCase(); + void init(); + void cleanup(); + + void parseSsrf(); + void parseGit(); +}; + +#endif |