Modify

Opened 12 years ago

Closed 12 years ago

#7028 closed defect (fixed)

Dragging map is extremely slow when large GPX file is loaded

Reported by: lonvia Owned by: Don-vip
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by stoecker)

Dragging the map has become almost impossible as soon as a large GPX file is loaded. (The file in question is about 9MB large.) For each move it takes one or two seconds to redraw the map.

In version r4487, dragging still works fine. Once the map is grabbed, it follows the mouse more or less immediately.

Attachments (1)

slow_down_bug.gpx.zip (641.5 KB) - added by lonvia 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by Don-vip

Could you attach a zip of your file, please ?

Changed 12 years ago by lonvia

Attachment: slow_down_bug.gpx.zip added

comment:2 Changed 12 years ago by lonvia

I added the GPX file, but any large GPX file shows the slow down. I just tried downloading the GPX points of downtown Zurich (around 50.000 points) and get the same behaviour.

This is on a Netbook (Linux, 2GB RAM, josm started with -Xmx1024m), so it might be that this slow down is less visible on a larger machine.

comment:3 Changed 12 years ago by stoecker

Description: modified (diff)

comment:4 Changed 12 years ago by Don-vip

Owner: changed from team to Don-vip
Priority: normalmajor
Status: newassigned

OK I can confirm it is much, much slower, even on a powerful machine (Core i5 2500k + 8 GB RAM).

It appears to be a surprising side effect of r4541. I investigate this right now.

comment:5 Changed 12 years ago by Don-vip

In [4573/josm]:

see #7028 - improves GPX dragging performances by 50%, but the main issue is still here (rounding is exact, but 1000 times slower than before)

comment:6 Changed 12 years ago by Don-vip

Resolution: fixed
Status: assignedclosed

In [4574/josm]:

fix #7028 - Dragging map is extremely slow when large GPX file is loaded

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.