On 30/04/14 16:48, Ehsan Akhgari wrote: > 1. OS.File uses a JS ChromeWorker which requires an unacceptable amount > of memory on b2g, on Tarako specifically.
True. > 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. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform