Re: Performane in FileAPI

2012-09-24 Thread Brian LeRoux
+1 A place for benchmarks is a great start. There's a few obvious things we'll want to measure (the bridge, file i/o) but I imagine other things will start coming to mind like initialization and resume/cleanup performance. Created a JIRA issue for CordovaJS for it. https://issues.apache.org/jira

Re: Performane in FileAPI

2012-09-22 Thread Andrew Grieve
I'd love to see this benchmark checked into mobile-spec. Probably we should create a sub-page for benchmarks, just like there is for Automated Tests. On Sat, Sep 22, 2012 at 10:20 AM, Simon MacDonald wrote: > Here's my two cents. The current bridge in 2.0/2.1 is much slower than what > we are

Re: Performane in FileAPI

2012-09-22 Thread Simon MacDonald
Here's my two cents. The current bridge in 2.0/2.1 is much slower than what we are now defaulting to in the upcoming 2.2 release. That change improves the FileReader performance greatly. However, switching to XHR speeds things up by an order of magnitude. Using my quick patch the FileReader passes