mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 00:44:38 +02:00
tweaks
This commit is contained in:
parent
311d8154bd
commit
34fad16dcf
1 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue