[
https://issues.apache.org/jira/browse/CB-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460072#comment-13460072
]
Daniel Kurka commented on CB-1478:
----------------------------------
Nexus 7 running android 4.1
100kB with XHR took: 8ms
100kB with FileReader took: 371ms
1MB with XHR took: 46ms
1MB with FileReader took: 2406ms
> FileReader vs XHR bench
> -----------------------
>
> Key: CB-1478
> URL: https://issues.apache.org/jira/browse/CB-1478
> Project: Apache Cordova
> Issue Type: Task
> Components: Android, BlackBerry, iOS, WP7
> Affects Versions: 2.2.0
> Reporter: Brian LeRoux
> Assignee: Joe Bowser
> Priority: Minor
> Fix For: 2.2.0
>
> 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