This commit is contained in:
ZappoMan 2014-06-25 14:12:03 -07:00
parent 311d8154bd
commit 34fad16dcf

View file

@ -243,7 +243,7 @@ void ModelTests::modelTreeTests(bool verbose) {
ModelTree tree; ModelTree tree;
testsTaken++; testsTaken++;
const int TEST_ITERATIONS = 10; const int TEST_ITERATIONS = 10000;
QString testName = "Performance - add model to tree " + QString::number(TEST_ITERATIONS) + " times"; QString testName = "Performance - add model to tree " + QString::number(TEST_ITERATIONS) + " times";
if (verbose) { if (verbose) {
qDebug() << "Test" << testsTaken <<":" << qPrintable(testName); qDebug() << "Test" << testsTaken <<":" << qPrintable(testName);
@ -324,7 +324,9 @@ void ModelTests::modelTreeTests(bool verbose) {
} }
} }
qDebug() << "getOctreeElementsCount()=" << tree.getOctreeElementsCount(); if (extraVerbose) {
qDebug() << "getOctreeElementsCount()=" << tree.getOctreeElementsCount();
}
bool passed = iterationsPassed == TEST_ITERATIONS; bool passed = iterationsPassed == TEST_ITERATIONS;
if (passed) { if (passed) {