Changeset 8510 in josm for trunk/test/performance/org/openstreetmap
- Timestamp:
- 2015-06-20T23:42:21+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRendererPerformanceTest.java
r7937 r8510 35 35 JOSMFixture.createPerformanceTestFixture().init(); 36 36 img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT, BufferedImage.TYPE_3BYTE_BGR); 37 g = (Graphics2D) img.getGraphics();37 g = (Graphics2D) img.getGraphics(); 38 38 nc = new NavigatableComponent(); 39 39 nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT); … … 54 54 55 55 private static void test(int iterations, DataSet ds, Bounds bounds) throws Exception { 56 Rendering visitor = new StyledMapRenderer(g, nc,false);56 Rendering visitor = new StyledMapRenderer(g, nc, false); 57 57 nc.zoomTo(bounds); 58 for (int i =0; i<iterations; i++) {58 for (int i = 0; i < iterations; i++) { 59 59 visitor.render(ds, true, bounds); 60 60 }
Note:
See TracChangeset
for help on using the changeset viewer.