简体   繁体   English

长时间运行的脚本IE与Chrome / Firefox

[英]Long Running Script IE vs Chrome/Firefox

I have checked some of the other threads about script times in IE, but I am having issues with a page I am working on. 我已经在IE中检查了一些关于脚本时间的其他线程,但我正在处理我正在处理的页面的问题。 I have checked the network timers for loading the jquery/jqueryui, as well as other network calls, and neither seems to be the issue, even though i am doing a series of loads. 我检查了网络计时器加载jquery / jqueryui,以及其他网络调用,似乎都不是问题,即使我正在做一系列的加载。 However, my page loads up on Chrome and Firefox in about 0.5 seconds. 但是,我的页面在大约0.5秒内加载到Chrome和Firefox上。 On IE10, however, it takes upwards of 10 seconds. 但是,在IE10上,它需要10秒钟。 The same items appear to be cached, and like I said my $(document).ready() ajax call on the page load is slightly slower on IE (about 100ms slower), but it is still less than a second. 相同的项目似乎被缓存,就像我说我的$(document).ready()页面加载上的ajax调用在IE上稍慢(大约慢100ms),但它仍然不到一秒钟。 Is there a way to diagnose what is actually taking so darn long? 有没有办法诊断实际服用的东西如此长久?

Thanks! 谢谢!

It is the issue of jQuery to run slowly under IE10 for $(document).ready() . 这是jQuery在IE10下为$(document).ready()慢慢运行的问题。
Instead of debugging the issue, I suggest checking if your page using only one $(document).ready() will help. 而不是调试问题,我建议检查您的页面是否只使用一个$(document).ready()将有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM