Hey guys, I am developing a rather large (from my point of view) interface, currently standing with 4300 rules of javascript (included a stripped jquery (1900) and swfobject + some plugins (interface iutil, ifx and idrag)), and each 15 seconds a JSON object with 4kb of plain text.
Well, what's the problem? Opera runs like hell. The drag slows a bit on the tick, but goes sweet between ticks. Cpu performance of opera is nice too. Firefox however, isn't. The cpu is quite high: 60-90 on a tick, 30-60 between them. And, it runs like 'is there an infinite loop? this ******'. Its just slow. I've found that i could increase it a bit by avoiding the use of for loops, but it still ain't good enough. Any ideas how to increase the performance in firefox? I'm under a .. i think it was 'non disclosure agreement', so i can't give the code ;) Second, the queuing question: $("#chatView").css ("display", "none"); $("#logView").css ("display", "none"); $("#chatTab").css ("display", "none"); $("#logTab").css ("display", "none"); $("#chatExit").css ("display", "none"); is called on the start of a drag, to only view a frame. In firefox, it works. In opera.. It seems like it gets queued? when i left out the onStop => View action, it did show the frame - upon stopping.