Opened 2 years ago

#17124 new enhancement

Improve conflict solving performance

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: performance Cc:


Suppose we have 1000 conflicts, we select all of them and choose "their version".
It feels that JOSM is slowly resolving them one by one and doing some resource-intensive things each time; it seems that JOSM will call this function a thousand times (for this example):

    public void onConflictsRemoved(ConflictCollection conflicts) {"1 conflict has been resolved.");
  1. Maybe should be changed to a more verbose level? (ie, it should not be printed to console when calling JOSM without --trace, --debug, etc)
  2. Maybe all the conflicts could be resolved and only then refreshView() be called only once, instead calling it every time a conflict is resolved?


Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-12-17 22:42:01 +0100 (Mon, 17 Dec 2018)
Build-Date:2018-12-18 02:32:19

Identification: JOSM/1.5 (14575 pt_BR) Linux Debian GNU/Linux buster/sid
Memory Usage: 312 MB / 2048 MB (74 MB allocated, but free)
Java version: 11.0.1+13-Debian-3, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-11-jre:amd64-11.0.1+13-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-21
VM arguments: [-Dawt.useSystemAAFontSettings=gasp]
Dataset consistency test: No problems found

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to naoliv
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

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

Note: See TracTickets for help on using tickets.