netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Firefox getting very slow

Open davide-ceretti opened this issue 11 years ago • 6 comments

Firefox is getting very slow on a high end machine (8gb ram, 3.5ghz CPU) while playing a games. Task manager shows 5-20% CPU usage and 800mb of RAM used. When I close the Jinteki tab everything goes back to normal.

FYI I have never had this issue and I encountered it yesterday/today for the first time.

davide-ceretti avatar Jul 23 '15 22:07 davide-ceretti

How long was the game you played or did you play multiple games? Did the performance increase when you left a game?

Enabling the card preview in the log pane should increase memory since a lot of event handlers are created, but I had no performace penalties when playing in Chrome.

Nonetheless, I'll do some tests with firefox and see if I can do anything to reduce the memory demand.

I think using event delegation would be a good improvement, I just need to figure out how to do it with clojurescript.

queueseven avatar Jul 24 '15 06:07 queueseven

The card preview in the chat log has been deployed yesterday and might be the cause.

It has been removed today from the live server due to other issues (#424). Can you try now and see if there is any difference in performance?

mtgred avatar Jul 24 '15 18:07 mtgred

I don't remember how much I played or how long the game was, sorry. I'll try again and let you know how it goes.

davide-ceretti avatar Jul 26 '15 10:07 davide-ceretti

It seems OK now, haven't had any issue in 5+ games,

davide-ceretti avatar Jul 26 '15 14:07 davide-ceretti

@davide-ceretti Some improvements have been deployed. The memory need should be reduced and the performance should be increased. Do you still have any issues?

queueseven avatar Jul 30 '15 08:07 queueseven

@DominicKexel Nope, all good now!

davide-ceretti avatar Jul 30 '15 08:07 davide-ceretti