Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68F48D021 for ; Fri, 21 Sep 2012 13:57:08 +0000 (UTC) Received: (qmail 98740 invoked by uid 500); 21 Sep 2012 13:57:08 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 98708 invoked by uid 500); 21 Sep 2012 13:57:08 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 98696 invoked by uid 99); 21 Sep 2012 13:57:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 13:57:08 +0000 Date: Sat, 22 Sep 2012 00:57:08 +1100 (NCT) From: "Simon MacDonald (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <413943784.107600.1348235828085.JavaMail.jiratomcat@arcas> In-Reply-To: <890377258.86611.1347861068067.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CB-1478) FileReader vs XHR bench MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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