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 43D37D8A5 for ; Fri, 21 Sep 2012 01:06:08 +0000 (UTC) Received: (qmail 4873 invoked by uid 500); 21 Sep 2012 01:06:07 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 4751 invoked by uid 500); 21 Sep 2012 01:06:07 -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 4645 invoked by uid 99); 21 Sep 2012 01:06:07 -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 01:06:07 +0000 Date: Fri, 21 Sep 2012 12:06:07 +1100 (NCT) From: "Tim Kim (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1417265095.105525.1348189567782.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=13460109#comment-13460109 ] Tim Kim commented on CB-1478: ----------------------------- The benchmark kinda works on bb, but needs some tweaking still. Anyhow, some numbers: On my bb9900 running OS7: 100kB w/xhr: 75ms 100kB w/FileReader: 305ms 1MB w/XHR: 249ms 1MB w/FileReader: error'd out. > 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