I am doing optimization of web app, where I get list data in JSON format in as large size as 1000 objects containing 100s of attributes. eval used to take lot of time to parse this large data. So after digging internet and stackoverflow for some time I got another way of retrieving JSON data from server ‘Dynamic Javascript include‘.
Javascript include does JSON parsing very fast, as stated in blogs.(verified with console logs in fiebug). But there is difference between the time Javascript has finished downloading and execution of the script, and huge one as high as 6 to 7 sec.
Any idea, why this is happening and any ways to resolve this?
Answering my own question here, After more digging I found out that the problem was only replicable on my machine, And on others machine the difference between the mentioned process was very less, So guessing that this may be happening because of too many Firefox addons that I have used.
Just a guess work. not sure yet.