Changeset 9773 in josm
- Timestamp:
- 2016-02-09T23:32:34+01:00 (9 years ago)
- Location:
- trunk/test/performance/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/PerformanceTestUtils.java
r9771 r9773 30 30 measurementPlotsPlugin = active; 31 31 } 32 32 33 /** 33 34 * Prints the time since this timer was created. … … 36 37 long dTime = (System.nanoTime() - time) / 1000000; 37 38 if (measurementPlotsPlugin) { 38 System.out.println(String.format("<measurement><name>%s (ms)</name><value>%.1f</value></measurement>", name, (double) dTime));39 System.out.println(String.format("<measurement><name>%s (ms)</name><value>%.1f</value></measurement>", name, (double) dTime)); 39 40 } else { 40 41 System.out.println("TIMER " + name + ": " + dTime + "ms"); -
trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java
r9769 r9773 9 9 import java.io.IOException; 10 10 import java.io.InputStream; 11 11 12 import javax.imageio.ImageIO; 12 13 … … 51 52 g.setColor(Color.BLACK); 52 53 g.fillRect(0, 0, IMG_WIDTH, IMG_WIDTH); 53 nc = Main.map.mapView; //new NavigatableComponent();54 nc = Main.map.mapView; 54 55 nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT); 55 56
Note:
See TracChangeset
for help on using the changeset viewer.