[PATCH 2 of 4] Only benchmark nss once

Wald Commits scm-commit at wald.intevation.org
Tue Apr 29 19:05:08 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398788819 0
# Node ID c262ee333c56b701709a56e6bc643f3f279e445e
# Parent  b8b3d922bf0dcb988eacdc53790b7410a0935d3c
Only benchmark nss once

diff -r b8b3d922bf0d -r c262ee333c56 ui/tests/nsstest.cpp
--- a/ui/tests/nsstest.cpp	Tue Apr 29 15:59:59 2014 +0000
+++ b/ui/tests/nsstest.cpp	Tue Apr 29 16:26:59 2014 +0000
@@ -256,7 +256,7 @@
     QVERIFY((size_t) instList.size() == strv_length(to_install));
     QVERIFY(strv_length(to_install) != 0);
 
-    QBENCHMARK {
+    QBENCHMARK_ONCE {
         write_stores_nss(to_install, to_remove);
     }
 }


More information about the Trustbridge-commits mailing list