[ 
https://issues.apache.org/jira/browse/CB-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460492#comment-13460492
 ] 

Simon MacDonald commented on CB-1478:
-------------------------------------

Prototype of FileReader using XHR is available here:

https://github.com/macdonst/incubator-cordova-js/commit/4c0134b827386d028f53370b3f5006b222939e26

What is left to be done is convert the HTML status codes to W3C File API error 
codes. This passes all the mobile spec File API test cases except "should error 
out on non-existent file" as the error code is not right.
                
> 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
>              Labels: ci
>             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

Reply via email to