Opened 6 years ago
Last modified 6 years ago
#18075 closed defect
JOSM slow with MapCSS on openSUSE systems — at Version 1
| Reported by: | stoecker | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core mappaint | Version: | |
| Keywords: | performance | Cc: | Don-vip, Klumbumbus |
Description (last modified by )
Hello,
today I did a bit of maxspeed mapping and used the maxspeed style.
As soon as following rule kicked in, JOSM became awfull slow:
/* 6.3 - report conditional maxspeed without default maxspeed */ way["maxspeed:conditional"][!"maxspeed"]::maxspeedlayer, way["maxspeed:forward:conditional"][!"maxspeed:forward"][!"maxspeed"]::maxspeedcasinglayer, way["maxspeed:backward:conditional"][!"maxspeed:backward"][!"maxspeed"]::maxspeedcasinglayer { color: yellow; dashes-background-color: red; dashes: 4,24; opacity: 1; width: 5; text: tr("conditional maxspeed without default maxspeed!"); text-color: black; font-size: 11; text-halo-color: red; text-halo-radius: 2; left-casing-width: 1; left-casing-color: yellow; right-casing-width: 1; right-casing-color: yellow; left-casing-opacity: 1; right-casing-opacity: 1; z-index: 1; }
It seems the text rendering is causing an extreme slowdown. For some time now JOSM seems slow to me on openSUSE systems, but I couldn't nail down the reason. As far as I can see it independent from the java version, but for reference here is what I used (recent openSUSE Tumbleweed).
openjdk version "1.8.0_212" OpenJDK Runtime Environment (IcedTea 3.12.0) (build 1.8.0_212-b4 suse-2.2-x86_64) OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
To be able to use josm at all I disabled display of most area styles.
I'd appreciate if someone with a bit more skills in timing debugging could test openSUSE. If this is not a generic JOSM issue (which I don't believe, otherwise there would be much more complains) it must have a reason in something different in modern openSUSE distributions.
Change History (1)
comment:1 by , 6 years ago
| Component: | Core → Core mappaint |
|---|---|
| Description: | modified (diff) |
| Keywords: | performance added |


