HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.75k stars 1.12k forks source link

HDT uses a lot of CPU resources #3919

Open Ed-Pavlov opened 5 years ago

Ed-Pavlov commented 5 years ago

Desktop HDT on Windows uses about 15% of CPU on my laptop. CPU i7-4510U 2.6GHz, 12GB RAM, GeForce 840M. When I streaming or recording video (using OBS) w/o HDT all goes smoothly, but if I use HDT Hearthstone slows down, freezing appears, it's almost impossible to stream a video. It uses more CPU then OBS and about the same amount of CPU as Hearthstone itself. Could you please optimize it's performance?

Untitled

riQQ commented 5 years ago

Have you checked the other issue about performance problems? https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues?q=is%3Aissue+is%3Aopen+performance+label%3Aperformance

Ed-Pavlov commented 5 years ago

Thank you, I've just read these topics. In my case there is no "lagging" or something like that just not enough CPU resources. Hearthstone and HDT had been added into antivirus exception, now I've added the log folder too, thanks for that info.

I guess if I had more productive laptop there would not be any problems at all. But Hearthstone and OBS together use about 75% of CPU and when HDT takes the rest there is a lack of resources for Hearthstone. I've found out that specifically HDT Overlay Window causes this problem - if I stream with HDT but w/o capturing HDT with its overlay window the situation is much better. But aside my laptop productivity, IMO the app drawing static picture should not use 15% cpu (I'm a programmer, just in case), may be I don't know some specific about drawing overlays over full screen applications though.

riQQ commented 5 years ago

Most likely the perfomance could be improved. But it's no the easiest task and someone has be willing to look into it.

MarvelWild commented 3 years ago

same issue here. it eats one core all the time, and gets irresponsive