﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7386	Improve preferences dialog startup time	Don-vip	team	"As JOSM grows, I noticed the preferences dialog takes more and more time to load.
Indeed, the build() method takes, without any plugin, more than 500ms, I think we can do better.

I've measured the time spent in the dialog construction to find the slowest preferences tabs (this is the time spent in addGui()):
{{{
org.openstreetmap.josm.gui.preferences.ShortcutPreference -> 115 ms
org.openstreetmap.josm.gui.preferences.ServerAccessPreference -> 56 ms
org.openstreetmap.josm.gui.preferences.ImageryPreference -> 51 ms
org.openstreetmap.josm.gui.preferences.LanguagePreference -> 45 ms
org.openstreetmap.josm.gui.preferences.MapPaintPreference -> 41 ms
org.openstreetmap.josm.gui.preferences.DrawingPreference -> 24 ms
org.openstreetmap.josm.gui.preferences.ColorPreference -> 22 ms
org.openstreetmap.josm.gui.preferences.advanced.AdvancedPreference -> 18 ms
org.openstreetmap.josm.gui.preferences.ValidatorPreference -> 14 ms
org.openstreetmap.josm.gui.preferences.PluginPreference -> 14 ms
org.openstreetmap.josm.gui.preferences.TaggingPresetPreference -> 11 ms
org.openstreetmap.josm.gui.preferences.ToolbarPreferences$Settings -> 10 ms
org.openstreetmap.josm.gui.preferences.BackupPreference -> 9 ms
org.openstreetmap.josm.gui.preferences.RemoteControlPreference -> 7 ms
org.openstreetmap.josm.gui.preferences.LafPreference -> 6 ms
org.openstreetmap.josm.gui.preferences.ProjectionPreference -> 3 ms
org.openstreetmap.josm.gui.preferences.AudioPreference -> 1 ms
}}}"	enhancement	closed	normal		Core	latest	fixed		
