Modify ↓
#19752 closed enhancement (fixed)
[Patch] StyleCache.intern: use HashMap instead of Storage
Reported by: | simon04 | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 20.11 |
Component: | Core | Version: | |
Keywords: | yourkit performance intern hashmap | Cc: |
Description (last modified by )
- Start JOSM
- Install pbf plugin
- Open
montenegro-latest.osm.pbf
Time spent in StyleCache.intern
is reduced from 13_919 ms to 926 ms.
"Merged Call Tree","Time Diff (ms)","Old Time (ms)","New Time (ms)","Level" "org.openstreetmap.josm.gui.mappaint.StyleCache.intern() StyleCache.java","-12992","13919","926","1" "java.util.HashMap.computeIfAbsent(Object, Function) HashMap.java","916","0","916","2" "org.openstreetmap.josm.data.osm.Storage.putUnique(Object) Storage.java","-13648","13648","0","2"
Attachments (1)
Change History (5)
Changed 22 months ago by
Attachment: | 19752.patch added |
---|
comment:1 Changed 22 months ago by
Description: | modified (diff) |
---|
comment:2 Changed 21 months ago by
Milestone: | 20.09 → 20.10 |
---|
comment:3 Changed 21 months ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 17101/josm: