mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
59a68fe9b5
commit
78cd2f4e09
3 changed files with 104 additions and 0 deletions
18
tests/testparseperformance.h
Normal file
18
tests/testparseperformance.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue