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

Performance on forms with different expressions #6422

Open
WKobus opened this issue Sep 18, 2024 · 0 comments
Open

Performance on forms with different expressions #6422

WKobus opened this issue Sep 18, 2024 · 0 comments

Comments

@WKobus
Copy link

WKobus commented Sep 18, 2024

ODK Collect version

the master version 66e9c1f

Android version

10,14

Device used

Redmi 7, Galaxy M23

Problem description

Forms with different expressions, for example:

  • city=${city} and age=${age}
  • age < 18
  • starts-with(${fname}, ${start})

Are much slower during filtering or opening draft / finalized form.
On my Android 14 device - Galaxy M23, regular 100k entity filter form filtering and opening draft / finalized form takes about 0.5 second, but on forms with expressions filtering takes ~5 seconds and opening draft / finalized form takes ~7 seconds

Steps to reproduce the problem

  1. Scan project "perf" from https://staging.getodk.cloud/#/projects/103/app-users
  2. Go to start new form
  3. Open Entities 100k and expression form
  4. In first question type "7" and swipe to the next question
  5. In second question type "7" and swipe to the next question
  6. Save form as draft
  7. Go to drafts and open previously saved form
  8. Compare performance to 100k Entity filter form
  9. Repeat steps 1-8 excluding step 5. for 100k entities >< expression form and 100k entities starts with expression form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: not ready
Development

No branches or pull requests

1 participant