[
https://issues.apache.org/jira/browse/CB-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460066#comment-13460066
]
Daniel Kurka commented on CB-1478:
----------------------------------
just ran it on a galaxy tab 7 running android 2.3
100kB with XHR took: 68ms
100kB with FileReader took: 780ms
1MB with XHR took: 72ms
1MB with FileReader took: 3946ms
> 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