Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Luzat <thomas@luzat.com>2018-03-08 12:20:25 +0300
committerJanek Bevendorff <janek@jbev.net>2018-03-08 12:20:25 +0300
commit46e8e3dbbce6e1a52bdbc8dcec20e60e766dfc2a (patch)
treed06a29e08774875882fa79f80a2703c7102fdc19 /tests/TestKdbx4.h
parentaa6327716f523329c95134228027d47750087945 (diff)
Test speedup (#1678)
* Tests: Speed up AutoType testing Decrease default autotype delay to 1 to improve test suite speed by seconds. This shaves multiple seconds off the whole test suite. In some cases, the largest part. Also, initialize config just creating the test instance, just in case that it ever depends on the configuration values at that point already. * Tests: Speed up Kdbx4 testing This speeds up the Kdbx4 tests by using parameters optimized for speed for the key derivation functions. On an i7-6700K the tests run close to 50% faster with this change (about 1.5s vs. 3s).
Diffstat (limited to 'tests/TestKdbx4.h')
-rw-r--r--tests/TestKdbx4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/TestKdbx4.h b/tests/TestKdbx4.h
index efb3449f3..e278ebb02 100644
--- a/tests/TestKdbx4.h
+++ b/tests/TestKdbx4.h
@@ -44,6 +44,8 @@ protected:
void readKdbx(QIODevice* device, CompositeKey const& key, QScopedPointer<Database>& db,
bool& hasError, QString& errorString) override;
void writeKdbx(QIODevice* device, Database* db, bool& hasError, QString& errorString) override;
+
+ QSharedPointer<Kdf> fastKdf(QSharedPointer<Kdf> kdf);
};
#endif // KEEPASSXC_TEST_KDBX4_H