﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13890	"""Upload selection"" slow with deleted objects (too many API calls)"	Adrian	Don-vip	"==== What steps will reproduce the problem?
1. Load some OSM data containing buildings.
2. Delete between five and ten buildings with a total of about 50 nodes.
3. Upload the changes, wait until JOSM has done its checks, then cancel the upload.

==== What is the expected result?
'Checking parents for deleted objects' takes less than 30 seconds.

==== What happens instead?
'Checking parents for deleted objects' took four minutes. See the attached log of messages at the command line. The log contains about 3000 lines. (I deleted those buildings because they have been demolished.)

Is it possible to improve the performance of JOSM when deleting please?


==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10966 en) Mac OS X 10.9.5
Memory Usage: 475 MB / 3641 MB (282 MB allocated, but free)
Java version: 1.8.0_102-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 725375437 1920x1200
Maximum Screen Size: 1920x1200

Plugins:
+ ImportImagePlugin (32699)
+ InfoMode (32789)
+ PicLayer (32796)
+ apache-commons (32699)
+ cadastre-fr (32796)
+ download_along (32946)
+ editgpx (32699)
+ ejml (32680)
+ geotools (32813)
+ imagery_offset_db (32796)
+ jts (32699)
+ log4j (32699)
+ measurement (32936)
+ opendata (32898)
+ poly (32699)
+ reverter (32796)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
+ waydownloader (32699)

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
}}}
"	enhancement	closed	normal	19.10	Core	tested	fixed	template_report performance upload selection	
