HearthStats / HearthStats.net-Uploader

Auto uploader for HearthStats.net
BSD 3-Clause "New" or "Revised" License
123 stars 54 forks source link

Performance Issues as of v0.20.3-11/25/2014 #573

Open trigun0x2 opened 9 years ago

trigun0x2 commented 9 years ago

Computer Details: 12GB Memory, 4.32GHz

Not in game: CPU: ~30% Memory: ~400mb

During Game: CPU: ~70% Memory: ~1.5gb

Beginning of turn: CPU: 80-90% Memory ~1.5gb

EDIT: After 2 games, cput has drop down to 2.3% and memory is at 400mb without changes at the beginning of turn.

gtch commented 9 years ago

@trigun0x2 Two questions:

trigun0x2 commented 9 years ago

@gtch Windows, and recording a video.

gtch commented 9 years ago

There's probably not much we can do about CPU use during video encoding, but the memory should be kept lower than that. I think we can limit memory use to keep that down...

trigun0x2 commented 9 years ago

@gtch if you look at my edit, the cpu and memory all dip down to very normal ranges after a game was played. I was able to reproduce this.

gtch commented 9 years ago

OK, thanks

gtch commented 9 years ago

@trigun0x2 Have a look at the build I did in the last day — I've managed to reduce the CPU use quite a lot on OS X, I'm pretty sure it will also improve the Windows build too...

trigun0x2 commented 9 years ago

@gtch It looks much better on OSX for sure but I hope we can reduce it more in the future because it uses more CPU than Hearthstone itself right now.