On 2014-04-30, 10:58 AM, David Rajchenbach-Teller wrote:
2. Performance: OS.File's performance on b2g was apparently worse than
the XPCOM I/O function, it seems.  I'm curious to know which device you
ran the benchmarks on, and what the benchmarks actually tested.  It
could be that those performance issues have been fixed since the last
time people looked at things.  FWIW for this use case an interesting
benchmark would be the performance of read operations of app manifest
JSON files.

I ran my benchmarks quite empirically on a laptop, for files ranging
from 1 byte to 100 Mb (sparse, I must admit). These benchmarks were run
after the native implementation of OS.File.read landed.

Can you please re-run the benchmarks on a device? I think the performance characteristics that we observe on desktop are not necessarily representative of those of our b2g devices.

But that being said, as long as problem #1 persists, we may need to not use OS.File in code that run on b2g, I'm afraid.

Cheers,
Ehsan

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to