#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)
Change History (8)
by , 9 years ago
Attachment: | patch-OsmReaderPerformanceTest.patch added |
---|
comment:1 by , 9 years ago
Keywords: | performance added |
---|---|
Milestone: | → 16.02 |
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 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 , 9 years ago
I didn't notice. I'll see that I use something else. It simply converts a file to a byte[].
by , 9 years ago
Attachment: | patch-remove-ioutils.patch added |
---|
comment:5 by , 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.
In 9457/josm: