Modify

Opened 10 years ago

Closed 6 years ago

Last modified 6 years 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 by bastiK, 10 years ago

Sounds like a good idea.

comment:2 by Don-vip, 6 years ago

Keywords: performance startup added
Milestone: 18.05

comment:3 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13815/josm:

fix #10047 - Initialize only active mappaint styles

comment:4 by Klumbumbus, 6 years ago

see #16321 for a regression

comment:5 by Don-vip, 6 years ago

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. 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.