Page 1 of 1

"push often to avoid huge performance issues"

Posted: 20 Mar 2010, 23:05
by Bottomless
In the Ranch example next to the Reset button is this text:

"push often to avoid huge performance issues"

All this button does is reset the text area (remove the text of the logger)

Also in the code you can find this comment at initialization (when also the textarea is being cleared):

ta_logger.text = "" // Reset textarea to avoid huge performance problems!

Why would logging some text generate "huge" performance issues?
What limits are we talking about here?
(after a few hundreds of logging lines or after several millions? When testing with one client connected or with several hundreds?)

Thanks

Re: "push often to avoid huge performance issues"

Posted: 22 Mar 2010, 06:54
by Bax
Bottomless wrote:Why would logging some text generate "huge" performance issues?
Ask Adobe! :D
The problem is not related with OpenSpace, SmartFoxServer or multiplayer in general. It is simply an issue with the textarea: we noticed that after entering some hundreds lines in the component, the Flash plugin performance dropped. We added that notice otherwise you may think that OpenSpace is the cause of the performance drop.