语言

Menu
Sites
Language
Navigation Sluggish

Hello all! The project I'm currently working on is very sluggish moving from page to page. I'm trying to figure out what could be slowing it down. I have a single index.html file with 1900+ lines and 32 pages. I'm assuming this could be one of the bottlenecks as it could be overloading the DOM. Also, I'm doing a lot of work in pagebeforeshow for each of these pages. Any suggestions or other places to look in order to speed things up would be amazing. Thanks in advance!

响应

3 回复
Raghu Kona

Hi Johnny,

Seems like the number of instructions running before showing the page might be effecting the performance. Have you tested the application on device.

Coz the performance of application running on emulator is as good as the machine running it.

Regards,

Raghu Kona

Johnny Moralez

Hello Raghu,

Thanks for the reply. I have tested it on the device and it is slow there as well. I will look into moving the pagebeforeshow work I'm doing to elsewhere.

Thanks again!

Lakshmi Grandhi

Hi,

trying loading the content asynchously as mentioned in the article

https://developer.tizen.org/documentation/articles/asynchronous-javascript-loader