You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/01/10 23:44:12 UTC

[jira] [Updated] (CB-1478) FileReader vs XHR bench

     [ https://issues.apache.org/jira/browse/CB-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-1478:
--------------------------

          Component/s:     (was: WP7)
                           (was: BlackBerry)
                           (was: Android)
                           (was: iOS)
                       mobile-spec
    Affects Version/s:     (was: 2.2.0)

Why not add this to mobile-spec?

I see this is related to CB-1528, but I believe this should exist in mobile-spec, not in cordova-js. With mobile-spec, we could create a "benchmarks" section that could run a test between using xhr vs filereader and report the results back.
                
> FileReader vs XHR bench
> -----------------------
>
>                 Key: CB-1478
>                 URL: https://issues.apache.org/jira/browse/CB-1478
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: mobile-spec
>            Reporter: Brian LeRoux
>            Assignee: Filip Maj
>            Priority: Minor
>              Labels: ci
>         Attachments: IOBench-debug.apk
>
>
> Long standing rumor that FileReader is/was faster than XHR debunked at PhoneGap Day EU. Before we do anything to optimize our i/o, we need some actual science on which is faster, on which platforms.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira