ODK Collect compiled app performance problem

Hi, i download the source code of the odk collect app.

I build the apk in android studio but the generated app has double size
respect the official odk collect app (downloaded from the official repo).

And, if i try to create 50 survey and save them the official app save them
in a few seconds (4/5 secs) and mine in about 50 secs.

Are there building flag to set to improve de performance or size and so on?

Thank you very much

Angelo,

Just one thought till somebody smarter chimes in: the latest Collect, just
released within the last week, is much faster than the previous one, so
maybe it's just that you're building with older sources? That wouldn't
explain the size difference (that's probably build settings), but it might
explain some or all of the performance difference. Maybe try re-pulling the
latest sources?

Best,

Chris

··· On Fri Jan 16 2015 at 12:00:54 PM Angelo Lazzari wrote:

Hi, i download the source code of the odk collect app.

I build the apk in android studio but the generated app has double size
respect the official odk collect app (downloaded from the official repo).

And, if i try to create 50 survey and save them the official app save them
in a few seconds (4/5 secs) and mine in about 50 secs.

Are there building flag to set to improve de performance or size and so on?

Thank you very much

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

First, however, just download the Google Play store's APK, or the APK from
our website.

Do you see the slower performance there?

The form evaluation logic had correctness changes that cause many more
dependencies to be properly evaluated. Depending upon your form, this can
slow things down.

What version of ODK Collect are you comparing timings against?

··· On Fri, Jan 16, 2015 at 9:18 AM, Christopher Robert wrote:

Angelo,

Just one thought till somebody smarter chimes in: the latest Collect, just
released within the last week, is much faster than the previous one, so
maybe it's just that you're building with older sources? That wouldn't
explain the size difference (that's probably build settings), but it might
explain some or all of the performance difference. Maybe try re-pulling the
latest sources?

Best,

Chris

On Fri Jan 16 2015 at 12:00:54 PM Angelo Lazzari lazzari.angelo@gmail.com wrote:

Hi, i download the source code of the odk collect app.

I build the apk in android studio but the generated app has double size
respect the official odk collect app (downloaded from the official repo).

And, if i try to create 50 survey and save them the official app save
them in a few seconds (4/5 secs) and mine in about 50 secs.

Are there building flag to set to improve de performance or size and so
on?

Thank you very much

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thank you Christopher and Mitch!

I will check with the last source.

My compiled app is the 1.4.4 (1047)...

I will re build with the newer version to be sure the problem is the
complex form we're using.

Thank you guys!
Angelo

··· Il giorno Fri Jan 16 2015 at 18:42:33 Mitch Sundt ha scritto:

First, however, just download the Google Play store's APK, or the APK from
our website.

Do you see the slower performance there?

The form evaluation logic had correctness changes that cause many more
dependencies to be properly evaluated. Depending upon your form, this can
slow things down.

What version of ODK Collect are you comparing timings against?

On Fri, Jan 16, 2015 at 9:18 AM, Christopher Robert <crobert@surveycto.com wrote:

Angelo,

Just one thought till somebody smarter chimes in: the latest Collect,
just released within the last week, is much faster than the previous one,
so maybe it's just that you're building with older sources? That wouldn't
explain the size difference (that's probably build settings), but it might
explain some or all of the performance difference. Maybe try re-pulling the
latest sources?

Best,

Chris

On Fri Jan 16 2015 at 12:00:54 PM Angelo Lazzari < lazzari.angelo@gmail.com> wrote:

Hi, i download the source code of the odk collect app.

I build the apk in android studio but the generated app has double size
respect the official odk collect app (downloaded from the official repo).

And, if i try to create 50 survey and save them the official app save
them in a few seconds (4/5 secs) and mine in about 50 secs.

Are there building flag to set to improve de performance or size and so
on?

Thank you very much

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.