make renderer debugging readable faster (1)
This commit is contained in:
parent
27bd4cfebb
commit
4549713db4
1 changed files with 3 additions and 3 deletions
|
@ -270,7 +270,7 @@ public class MapRenderRepositories {
|
||||||
cObjectsBox = dataBox;
|
cObjectsBox = dataBox;
|
||||||
log.info(String.format("BLat=%s, TLat=%s, LLong=%s, RLong=%s, zoom=%s", //$NON-NLS-1$
|
log.info(String.format("BLat=%s, TLat=%s, LLong=%s, RLong=%s, zoom=%s", //$NON-NLS-1$
|
||||||
dataBox.bottom, dataBox.top, dataBox.left, dataBox.right, zoom));
|
dataBox.bottom, dataBox.top, dataBox.left, dataBox.right, zoom));
|
||||||
log.info(String.format("Native search done in %s ms. ", System.currentTimeMillis() - now)); //$NON-NLS-1$
|
log.info(String.format("Native search: %s ms ", System.currentTimeMillis() - now)); //$NON-NLS-1$
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -387,7 +387,7 @@ public class MapRenderRepositories {
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
log.info(String.format("BLat=%s, TLat=%s, LLong=%s, RLong=%s, zoom=%s", //$NON-NLS-1$
|
log.info(String.format("BLat=%s, TLat=%s, LLong=%s, RLong=%s, zoom=%s", //$NON-NLS-1$
|
||||||
cBottomLatitude, cTopLatitude, cLeftLongitude, cRightLongitude, zoom));
|
cBottomLatitude, cTopLatitude, cLeftLongitude, cRightLongitude, zoom));
|
||||||
log.info(String.format("Search done in %s ms. %s results were found.", System.currentTimeMillis() - now, count)); //$NON-NLS-1$
|
log.info(String.format("Searching: %s ms (%s results found)", System.currentTimeMillis() - now, count)); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -532,7 +532,7 @@ public class MapRenderRepositories {
|
||||||
this.prevBmp = null;
|
this.prevBmp = null;
|
||||||
this.prevBmpLocation = null;
|
this.prevBmpLocation = null;
|
||||||
if (prefs.DEBUG_RENDERING_INFO.get()) {
|
if (prefs.DEBUG_RENDERING_INFO.get()) {
|
||||||
String timeInfo = "Search done in " + searchTime + " ms"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
String timeInfo = "Searching: " + searchTime + " ms"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
|
||||||
if (renderingDebugInfo != null) {
|
if (renderingDebugInfo != null) {
|
||||||
timeInfo += "\n" + renderingDebugInfo;
|
timeInfo += "\n" + renderingDebugInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue