Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Is there any possibility that steal is causing - IE8 “A script on this page is causing Internet Explorer to run slowly” alert in production mode

$
0
0
Steal version we are using is - "version" : "3.3.0pre",

We have run  Dyna Trace profiler (https://community.compuwareapm.com/community/display/DL/Downloads) and there are total 130k calls made to different functions in steal before executing first line of application code.  See link

We have also created a sample test app which steals 500 files with dependency depth of 3 and there are total 240k calls made to different functions in steal which is equal to 1.5 million statements.  See link 

// init.js
steal("theme/SOA/CM/dummy/1.js",  "theme/SOA/CM/dummy/11.js",  "theme/SOA/CM/dummy/21.js" ...  "theme/SOA/CM/dummy/491.js");

// 1.js
steal("theme/SOA/CM/dummy/2.js").then("theme/SOA/CM/dummy/3.js");

//2.js
steal("theme/SOA/CM/dummy/4.js").then("theme/SOA/CM/dummy/5.js");

//3.js
steal("theme/SOA/CM/dummy/6.js").then("theme/SOA/CM/dummy/7.js");


// More info -  See link 
ScriptGenerator.java - generate test steal files
To run - java ScriptGenerator theme/SOA/CM 500

report_dummy_files.xls - Dyna Trace report for sample test case

report_actual_application.xls - Dyna Trace report for our applicaiton



Viewing all articles
Browse latest Browse all 3491

Trending Articles