opendatacam / opendatacam-mobile

OpenDataCam mobile app for android
https://play.google.com/store/apps/details?id=com.opendatacam
MIT License
12 stars 3 forks source link

Longterm running performance #21

Closed b-g closed 3 years ago

b-g commented 3 years ago

Made some test running opendatacam-beta-2.apk over hours ... with Xiaomi Redmi Note 9 Pro.

Good news is that the phones doesn't get very hot even over several hours without a fan attached. However I still couldn't figure out how to run the ODC app for days without having the FPS going down.

Time FPS
Fri 16:00 10
Fri 16:30 8-9
Fri 17:40 9-10
Fri 18:45 9
Fri 19:35 9
Sat 7:30 6
Sat 9:30 6
Time FPS
Sat 17:00 9-10
Sat 17:45 8-9
Sat 18:45 8
Sun 7:30 7-8
Sun 9:40 7
Time FPS
Sat 17:00 8
Sat 20:00 8
Mon 7:30 6

Observations

tdurand commented 3 years ago

Many thanks for this, means it doesn't crash 😎 at least

Gut feeling is that the lighting has something to do with the framerate ... much better during daylight.

Yes I noticed the same.. this is a bit weird.. I can't get why

CPU monitor apps seem to affect the performance by 1 to 2 FPS

Yes the CPU monitor app I sent you is putting all the CPU full speed to benchmark performance over time.

The FPS performance on your phone would be the really minimum you need to get something usable.. on mine it is a bit better, starts a 15 FPS but has more thermal issues and drops faster.. (maybe because here it is summer ;-) )

b-g commented 3 years ago

CPU monitor app Yes ... because of that I've tried a few other more "just monitor" apps ... still affected the performance

thermal issues Maybe ... but with my phone it didn't make any difference with or without the fan. The phone never gets that hot. Must be really something to do with a different CPU structure.

tdurand commented 3 years ago

Ok, one potential explanation also is that the CPU is a bit more throttle than on my phone , so you don't get super fast performance when starting, you always stay in the zone where the architecture is able to keep up without overheating... Which in a sense is better than with mine which gets crazy hot and then throttle.