You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sebastien Chauffray (JIRA)" <ji...@apache.org> on 2016/10/14 09:17:20 UTC

[jira] [Created] (CB-12019) cordova-plugin-file : Performance issue between version 3.0.0 and 4.3.0

Sebastien Chauffray created CB-12019:
----------------------------------------

             Summary: cordova-plugin-file : Performance issue between version 3.0.0 and 4.3.0
                 Key: CB-12019
                 URL: https://issues.apache.org/jira/browse/CB-12019
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin File
    Affects Versions: 3.5.0
         Environment: Tests done with Visual Studio 2015, cordova cli 6.3
Materiel : Samsung A5 2016, Android 6.0.1
            Reporter: Sebastien Chauffray


Performance tests to compare cordova-plugin-file 3.0.0 to 4.3.0

I've done 3 tests : 
Test 1 : Create 1 000 files (about 4 000 characters each) in synchronous mode. I wait the end of a file to create the next

Test 2 : Create 500 files (about 4 000 characters each) in asynchronous mode. Don't wait to create all the file

Test 3 : Create a file by 400 appends of 4 000 caractères and read this file (about 1.60 Mo)

I mesure each test and see very bad performance for version 4.3.0 of the plugin...

You can see the result in the array : 

Version	3.0.0	
	          Cycle 1	                 Cycle 2
Test 1	21s 975ms	        22s 78ms
Test 2	4s 118ms	                 3s 761ms
Test 3	10s 317ms	


Version	4.3.0	
	          Cycle 1	                 Cycle 2
Test 1	50s 341ms	        51s 10ms
Test 2	8s 172ms	                 9s 230ms
Test 3	16s 484ms	


if needed, i can discuss about the test detail



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org