Open GoogleCodeExporter opened 9 years ago
Oops, I mean fps is 1, 2, 5, 10, so we already support 10 frames per second!
So ignore that part...
Original comment by wrig...@google.com
on 26 Nov 2012 at 5:16
Another option to try out is to not encode the images at all (and keep them in
memory in raw form) until the end of the test. This is actually exactly how
the desktop agents work.
Granted, this will increase the amount of RAM the agent uses and make it more
likely to crash from memory pressure but from what I've read the actual capture
can be very fast and it may be the encoding/writing that is expensive.
If we capture screen shots only when the screen actually changed then it can
mitigate the memory issues.
If an image resize is fast then resizing the capture to 1/4 resolution may also
help with the memory pressure.
Original comment by pmee...@chromium.org
on 26 Nov 2012 at 5:21
Optimizing the speed of capturing screenshots is definitely a worthwhile
activity.
In a (somewhat old) test we did, even capturing screenshots once a second added
~30% to the load time on average, alongside not being granular enough.
Note that it's possible this is simply a limitation, as the resources required
to capture a screenshot may be a lot compared to a mobile device's
capabilities.
Another suggestion: recent iOS versions have a build in Screen Capture
capability (pressing the home and power button at once), which - I believe -
was not there when we first created Mobitest. If we're lucky, maybe that
capture is GPU accelerated, and maybe we can find some more official API to
capture it?
Lastly, if we can find a video recording capability on the device, that'll be
another option.
Original comment by guy...@gmail.com
on 26 Nov 2012 at 5:23
Original issue reported on code.google.com by
wrig...@google.com
on 26 Nov 2012 at 5:13