FYI - found ugly performance bug in rc1 dll - fixed

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Post Reply
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

FYI - found ugly performance bug in rc1 dll - fixed

Post by ThomasLund »

Just wanted to post this in case anyone buts their head into a performance issue and dont understand why.

When sending larger data chunks (100kb+) then the current rc1 dll has a build in delay - which grows rapidly and exponentially.

To be honest its a very dumb error too from a n00b textbook - I used a string += string instead of using a StringBuilder when building debug log info.

I had a case where I needed to send 2 mb xml to the server - and it took 4-5 minutes. Duh :-D

So if you are sending larger chunks of data to the server and experience hangs - then poke me and I can build you a temporary dll that fixes this.

The bug is obviously now fixed and will be included in the next release.

/Thomas
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Stay tuned for an update (RC1a) coming next week.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply