Skip to content
Permalink
Browse files

Make tracer less debug noisy

  • Loading branch information
nyalldawson committed Oct 28, 2020
1 parent 0b966f0 commit daac819674e9557000f80d058d2fb165b3806149
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/qgstracer.cpp
@@ -590,8 +590,8 @@ bool QgsTracer::initGraph()
Q_UNUSED( timeNoding )
Q_UNUSED( timeNodingCall )
Q_UNUSED( timeMake )
QgsDebugMsg( QStringLiteral( "tracer extract %1 ms, noding %2 ms (call %3 ms), make %4 ms" )
.arg( timeExtract ).arg( timeNoding ).arg( timeNodingCall ).arg( timeMake ) );
QgsDebugMsgLevel( QStringLiteral( "tracer extract %1 ms, noding %2 ms (call %3 ms), make %4 ms" )
.arg( timeExtract ).arg( timeNoding ).arg( timeNodingCall ).arg( timeMake ), 2 );

return true;
}
@@ -768,7 +768,7 @@ QVector<QgsPointXY> QgsTracer::findShortestPath( const QgsPointXY &p1, const Qgs

Q_UNUSED( tPrep )
Q_UNUSED( tPath )
QgsDebugMsg( QStringLiteral( "path timing: prep %1 ms, path %2 ms" ).arg( tPrep ).arg( tPath ) );
QgsDebugMsgLevel( QStringLiteral( "path timing: prep %1 ms, path %2 ms" ).arg( tPrep ).arg( tPath ), 2 );

resetGraph( *mGraph );

0 comments on commit daac819

Please sign in to comment.
You can’t perform that action at this time.