Modify

Opened 4 years ago

Closed 4 weeks ago

Last modified 3 weeks ago

#10047 closed enhancement (fixed)

Initialize only active mappaint styles

Reported by: simon04 Owned by: team
Priority: normal Milestone: 18.05
Component: Core mappaint Version:
Keywords: performance startup Cc: bastiK, Don-vip

Description

Currently, all installed mappaint styles are being initialized at startup. Since #9691 this involves two big files. To improve this situation, one should only initialize active styles during startup, and the others on-demand (i.e., upon activation).

r7143 outputs

DEBUG: Initializing map style resource://styles/standard/elemstyles.xml completed in 1.2 s
DEBUG: Initializing map style resource://styles/standard/elemstyles.mapcss completed in 1.7 s
DEBUG: Initializing map style resource://styles/standard/potlatch2.mapcss completed in 188 ms
DEBUG: Initialising map styles completed in 3.2 s

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by bastiK

Sounds like a good idea.

comment:2 Changed 4 weeks ago by Don-vip

Keywords: performance startup added
Milestone: 18.05

comment:3 Changed 4 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 13815/josm:

fix #10047 - Initialize only active mappaint styles

comment:4 Changed 3 weeks ago by Klumbumbus

see #16321 for a regression

comment:5 Changed 3 weeks ago by Don-vip

In 13845/josm:

fix #16321, see #10047 - mapcss metadata is required

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.