Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracks, visible on map, mysterious delay #20982

Open
pebogufi opened this issue Oct 5, 2024 · 6 comments
Open

tracks, visible on map, mysterious delay #20982

pebogufi opened this issue Oct 5, 2024 · 6 comments
Labels
Milestone

Comments

@pebogufi
Copy link

pebogufi commented Oct 5, 2024

Description

when opening "visible on map" the delay until i see a list is about 11 sec.
When i do a "wipe down" on the just opened new window, the delay is only 3-4 sec.
For me it looks like that the information for "visible on map" is already prepared, but will only be displayed if all other (not interesting) subdirectories are also scanned. My wiping does a refresh to show immediately.
I repeated measuring a lot of times.

This slow display happens only on my S10 (Samsung, Android 12, internal mem, storage/emulated/0/Android/media/net.osmand.plus).

On a other device the delay is about 3 sec without wipe. (Samsung Tab S5e, Android 10, SDcard, storage/xxxx-xxxx/Android/obb/net.osmand.plus).

Normally the S10 is MUCH faster than the Tab S5e.
The directory subtree is nearly the same on both devices.
Installed version on both devices
OsmAnd~ 4.9.0#3358m, released: 2024-10-04

Steps to reproduce

See above

Actual result

Manual refresh is needed for faster display

Expected result

Faster display

Your Environment (required)

Se above

@pebogufi
Copy link
Author

pebogufi commented Oct 5, 2024

Using a "show visible tracks on map" with a smart folder is displayed IMMEDIATELY.
(see hint from @sonora months ago)

@pebogufi
Copy link
Author

pebogufi commented Oct 5, 2024

Scanning of all subfolders is nothing good for.
Just scan a subfolder if i open it.

@sonora
Copy link
Member

sonora commented Oct 5, 2024

Latest builds have become much better - try nightlies instead of release or beta.

@pebogufi
Copy link
Author

pebogufi commented Oct 5, 2024

I made the test with nightly of this morning.
See above
OsmAnd~ 4.9.0#3358m, released: 2024-10-04

@vshcherb
Copy link
Member

vshcherb commented Oct 5, 2024

First run could be very slow as whole database is being reindexed. Though later on it should start working fast

@vshcherb vshcherb added this to the 4.9-android milestone Oct 5, 2024
@vshcherb vshcherb added the ! label Oct 5, 2024
@pebogufi
Copy link
Author

pebogufi commented Oct 6, 2024

I know that there is some background processing immediately after start. I don't start measuring before the marker flags are visible.
Visibility of marker flags is a good indicator that the app is really ready to work (after start).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants