Changeset 7043 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2014-05-02T00:43:10+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r7040 r7043 1404 1404 1405 1405 highlightWaySegments = data.getHighlightedWaySegments(); 1406 1407 long timeStart=0, timePhase1=0, timeFinished; 1408 if (Main.isTraceEnabled()) { 1409 timeStart = System.currentTimeMillis(); 1410 System.err.print("BENCHMARK: rendering "); 1411 Main.debug(null); 1412 } 1406 1413 1407 1414 StyleCollector sc = new StyleCollector(drawArea, drawMultipolygon, drawRestriction); … … 1409 1416 collectWayStyles(data, sc, bbox); 1410 1417 collectRelationStyles(data, sc, bbox); 1418 1419 if (Main.isTraceEnabled()) { 1420 timePhase1 = System.currentTimeMillis(); 1421 System.err.print("phase 1 (calculate styles): " + (timePhase1 - timeStart) + " ms"); 1422 } 1423 1411 1424 sc.drawAll(); 1412 1425 sc = null; 1426 1427 if (Main.isTraceEnabled()) { 1428 timeFinished = System.currentTimeMillis(); 1429 System.err.println("; phase 2 (draw): " + (timeFinished - timePhase1) + " ms; total: " + (timeFinished - timeStart) + " ms"); 1430 } 1431 1413 1432 drawVirtualNodes(data, bbox); 1414 1433 }
Note:
See TracChangeset
for help on using the changeset viewer.