View unanswered posts | View active topics It is currently Mon Jul 21, 2025 9:46 pm



Reply to topic  [ 5 posts ] 
 script error 
Author Message
User avatar

Joined: Wed Nov 16, 2011 1:42 am
Posts: 1148
Reply with quote
started playing with firefox today and every time i try to load my planet list firefox becomes unresponsive for about 10 seconds then i get a warning saying https://ajax.googleapis.com/ajax/libs/j ... y.min.js:3 is unresponsive this process repeats every time i try to sort or adjust my planet filtering or come off and go back onto the planet tab.

Has any one got and clues on how to resolve this?

_________________
Image
Image


Mon Nov 04, 2013 7:04 pm
Profile

Joined: Fri Jan 06, 2012 3:10 am
Posts: 1653
Location: Shredding NPCs and fantasizing about natural Dysons in this beefy UFO that I built in my basement
Reply with quote
I get that sometimes on Firefox. My solution is to use Chrome. The problem is that the planet list refresh is far more complicated and client-intensive than it needs to be. A ridiculous amount of javascript code is executed that loads your ENTIRE planet list into the browser's memory. I don't know how to adjust the threshold that Firefox uses. Really, Dan should fix this on his end, though. There's no reason to be passing the huge amounts of data back and forth that GL does (basically the entire current tab/overlay each time you click).

_________________
PLURVION: Immortal GP Jedi and Loyal Distinguished Minion to Ms. T.
ImageImage


Mon Nov 04, 2013 8:03 pm
Profile
User avatar

Joined: Wed Nov 16, 2011 1:42 am
Posts: 1148
Reply with quote
PLURVIOUS wrote:
I get that sometimes on Firefox. My solution is to use Chrome. The problem is that the planet list refresh is far more complicated and client-intensive than it needs to be. A ridiculous amount of javascript code is executed that loads your ENTIRE planet list into the browser's memory. I don't know how to adjust the threshold that Firefox uses. Really, Dan should fix this on his end, though. There's no reason to be passing the huge amounts of data back and forth that GL does (basically the entire current tab/overlay each time you click).



I just switched from chrome as Firefox seems to have less lag in general (for me anyway) but the planet lists makes it unusable for an everyday browser

_________________
Image
Image


Mon Nov 04, 2013 8:25 pm
Profile
User avatar

Joined: Tue May 22, 2012 1:37 am
Posts: 244
Reply with quote
PLURVIOUS wrote:
I get that sometimes on Firefox. My solution is to use Chrome. The problem is that the planet list refresh is far more complicated and client-intensive than it needs to be. A ridiculous amount of javascript code is executed that loads your ENTIRE planet list into the browser's memory. I don't know how to adjust the threshold that Firefox uses. Really, Dan should fix this on his end, though. There's no reason to be passing the huge amounts of data back and forth that GL does (basically the entire current tab/overlay each time you click).


I feel like fixing this would really help with lag then too, ya?

I normally use firefox and have minimal issues though.


Mon Nov 04, 2013 11:19 pm
Profile

Joined: Fri Jan 06, 2012 3:10 am
Posts: 1653
Location: Shredding NPCs and fantasizing about natural Dysons in this beefy UFO that I built in my basement
Reply with quote
Dr Doom wrote:
PLURVIOUS wrote:
I get that sometimes on Firefox. My solution is to use Chrome. The problem is that the planet list refresh is far more complicated and client-intensive than it needs to be. A ridiculous amount of javascript code is executed that loads your ENTIRE planet list into the browser's memory. I don't know how to adjust the threshold that Firefox uses. Really, Dan should fix this on his end, though. There's no reason to be passing the huge amounts of data back and forth that GL does (basically the entire current tab/overlay each time you click).


I feel like fixing this would really help with lag then too, ya?

I normally use firefox and have minimal issues though.


Yea, I think a re-design of the site in general would help with lag. For example, when I'm NPCing, there's no need to re-load my entire list of active effects for each click. All that should be passed to the server is the fact that I clicked [Attack], and all that should come back is the damage dealt and received (a few bytes) plus any possible debuffs. Instead, the entire overlay is window is refreshed with a bunch of info that doesn't change anyway. The javascript RAM, not known for its efficient garbage collection, builds up on the client while the network traffic, trying to stay sychronized with the overlay state, hiccups and then you end up with a blue bar. It has to sit and think for a few seconds while everything resynchronizes - the result is that intermittent lag we see every nth number of clicks sometimes. But what the Hell do I know, right?

The entire planet list re-loads when you go to the planet tab or flag a planet, or do anything planet-related (scan a new planet, etc); Depending on what else is happening on the client machine and whether the browser happens to be using RAM versus virtual memory at the time (and maybe anything else happening with the underlying javascript engine), you sometimes get lag-type behavior. If Dan had instead implemented a sorted heap or other data structure that allows more efficient add/remove of elements, it would be much faster and the lag would have a far less chance of making Firefox think its a script "error" (aka, script taking too long to run).

_________________
PLURVION: Immortal GP Jedi and Loyal Distinguished Minion to Ms. T.
ImageImage


Mon Nov 04, 2013 11:45 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.