Modify ↓
Opened 10 years ago
Closed 9 years ago
#11855 closed defect (fixed)
Mapillary plugin calls oauth.MapillaryUser.getUsername in EDT thread when creating MapilaryPreferenceSetting
Reported by: | wiktorn | Owned by: | nokutu |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin mapillary | Version: | latest |
Keywords: | EDT i/o | Cc: |
Description
I'm profiling the preferences dialog to give it some performance boost. I move all I/O operations outside the EDT thread. The one I've seen that's still taking long time (like 1 second) is
org.openstreetmap.josm.plugins.mapillary.oauth.MapillaryUser.getUsername()
Please, move I/O operation outside EDT
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Thank you for your the hint, in revision 31808 I've now moved the calls to
MapillaryUser.getUsername()
into a separate thread.This will go live in the next days with release 1.1.2 of the plugin. If you want to try it out before it's released, you can download the plugin from GitHub and place it in the
~/.josm/plugins
-folder manually.