jQWidgets Forums
jQuery UI Widgets › Forums › General Discussions › Bad performance on samsung galaxy tab
Tagged: bad performance
This topic contains 5 replies, has 2 voices, and was last updated by Peter Stoev 12 years, 9 months ago.
-
Author
-
Hi Peter,
we noticed a bad performance on our samsung galaxy tab. The web page contains only 13 jqx widgets. Here is the link to the test page: http://85.214.211.237/jqw/performance.html
With opera mobile it takes 12 seconds till the page is loaded. You can even see while the widgets are beeing drawn.
With firefox it takes 5 seconds. The page is displayed after the 5 seconds.Best Regards,
Karlheinz RafalskiHi Karlheinz,
The performance depends on the connection’s speed, the browser’s speed, the device speed and also from the size of the widgets. The size of the widgets on that page is ~400KB. Only the Grid with all of its features is ~300KB. The widgets will be displayed when all files are downloaded. We can’t offer you a solution here.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
here is a jqw test page with 20 jqxDropDownList widgets http://85.214.211.237/jqw/performance2.html . This page takes more than 10 seconds loading.
And here a test page with 20 pure html combo boxes http://85.214.211.237/jqw/performance3.html . This takes 1 second loading.
All on the same samsung galaxy tab device. So it does not depend on the connection speed or device speed.
If this can not be improved on your side, we have to replace most of your widgets with pure html elements on all of our pages.
Best Regards,
Karlheinz RafalskiHi Karlheinz,
The standard elements are native for the devices and their browsers. They will be always faster. There shouldn’t be loaded external files for them. Even that page with the DropDownLists has to load ~200KB before initializing the widgets. Its’s a trade off depending on whether you want features or high-speed with native rendering. We can’t offer you a solution in that scenario. We improve our widgets performance, but can’t do much to improve the loading time as its related to their size.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
im my opinon it’s not the loading time. I have i put an alert() at the start of ready() and at the end of ready(). You can even watch jqwidgets drawing the comboboxes in opera mobile. Thay are dropping in one by another.
$(document).ready(function (){ alert("ready start"); for(var i=1; i <=20; i++) { var d = []; for(var j=0; j<10; j++) { d.push(j); } $('<div id="ddb'+i+'" style="margin-bottom:10px" />').jqxDropDownList( { source: d, width: '250px', height: '20px', dropDownHeight: 200, selectedIndex: 0 }).appendTo("body"); }; alert("ready end");});
Here the link: http://85.214.211.237/jqw/performance2.html
Best Regards,
Karlheiz RafalskiI don’t have additional comments on this topic. We’ll do our best to improve our product in the future, but can’t offer you a way to improve the loading at present.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
The topic ‘Bad performance on samsung galaxy tab’ is closed to new replies.