From ee6f068dff6b15441e553ffbfb2bf8aa97b26f57 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Thu, 11 Dec 2014 01:06:54 +0100 Subject: shhh --- tests/storagebenchmark.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp index ba14990..130753f 100644 --- a/tests/storagebenchmark.cpp +++ b/tests/storagebenchmark.cpp @@ -152,7 +152,7 @@ private Q_SLOTS: int hit = 0; store->scan("", [&](void *keyValue, int keySize, void *dataValue, int dataSize) -> bool { if (std::string(static_cast(keyValue), keySize) == "key10000") { - qDebug() << "hit"; + //qDebug() << "hit"; hit++; } return true; @@ -168,9 +168,11 @@ private Q_SLOTS: QBENCHMARK { int hit = 0; store->scan("key40000", [&](void *keyValue, int keySize, void *dataValue, int dataSize) -> bool { + /* if (std::string(static_cast(keyValue), keySize) == "foo") { qDebug() << "hit"; } + */ hit++; return true; }); -- cgit v1.2.3