Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12356 closed enhancement (fixed)

[Patch] OsmReaderPerformanceTest

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.02
Component: Core Version:
Keywords: performance Cc:

Description

Tests the performance when parsing an OSM file.

To get rid of disk effects, the file is first read into memeory and parsed afterwards.

Attachments (2)

patch-OsmReaderPerformanceTest.patch (3.1 KB ) - added by michael2402 9 years ago.
patch-remove-ioutils.patch (1.7 KB ) - added by michael2402 9 years ago.

Download all attachments as: .zip

Change History (8)

by michael2402, 9 years ago

comment:1 by Don-vip, 9 years ago

Keywords: performance added
Milestone: 16.02

comment:2 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 9457/josm:

fix #12356 - OsmReaderPerformanceTest (patch by michael2402, modified)

comment:3 by Don-vip, 9 years ago

This causes a warning:

IOUtils is internal proprietary API and may be removed in a future release

Didn't try it with Java 9 yet but it will likely be a problem. Can we use something else?

comment:4 by michael2402, 9 years ago

I didn't notice. I'll see that I use something else. It simply converts a file to a byte[].

by michael2402, 9 years ago

Attachment: patch-remove-ioutils.patch added

comment:5 by michael2402, 9 years ago

I added a patch that uses plain Java IO. Apache Commons has some UIUtils that can replace this with fewer lines but it does not seem to be in the current dependencies of JOSM.

comment:6 by Don-vip, 9 years ago

In 9491/josm:

see #12356 - remove use of internal proprietary API (patch by michael2402)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.