Giter Club home page Giter Club logo

Comments (5)

32th-System avatar 32th-System commented on September 23, 2024

A few people have been getting very bad performance issues with the latest thprac. Usually, what developers do to fix performance problems is to use a profiler, a program that monitors how a program runs and tells the developer what code is slowing things down the most. However, not everyone seems to be getting these performance issues. I don't seem to be getting them either.

Since this seems to be an issue that affects some users but not others, I'll need one of the affected users to run the profiler and send me the results. Because I'm not getting these issues, I don't trust the results of my own profiling.

As a result of this, here is what I want you to do:

  • Download Luke Stackwalker. This is a profiler that anyone can install and use no matter how their system is set up.
  • Run the game with thprac and bring the performance down to 1 fps.
  • Open Luke Stackwalker and select "Profile" > "Run"
  • Select the name of your Touhou game exe from the list of processes.
  • First, wait for the loading bar to fill up, then wait again to let it collect samples (let it do that for however long you want). It's good if the game is slow during the entire time Luke Stackwalker is collecting samples
  • Once you stop collecting samples, click on "Save profile data" (which is the third icon in the bar with the icons and looks like a floppy disk) and send me the lsd file you get

from thprac.

Mariox222 avatar Mariox222 commented on September 23, 2024

lsds.zip
I have the same issue. Here are 2 lsd files done with like stackwalker.
In the first case I sampled the thprac process itself with no touhou game running. Thprac was idling on the game list. It had high CPU usage and was feeling unresponsive but it was working properly. File name "no_game_running.lsd"

In the second case I sampled th08 process with thprac attached. The game was running at 2-3 fps constantly. Main menu demo was playing during sampling. th08 process was having the same CPU usage as thprac process in the first case which is higher than normal. Thprac process in this game had next to none CPU usage.

Other details:
thprac version in the samples is the latest; 2.2.0.0.
The result is the same on older thprac versions. Restarting my pc or thprac didn't work. The same thprac executable was working 2 weeks ago, I got this issue after that 2 week break of not playing. Windows "anti malware executable" was active with high CPU usage the whole time. Th08 works fine without thprac.
system specs:
Processor Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz 2.50 GHz
Installed RAM 8.00 GB (7.89 GB usable)
System type 64-bit operating system, x64-based processor
GPU NVIDIA GeForce GTX 1050

from thprac.

hemisemidemipresent avatar hemisemidemipresent commented on September 23, 2024

profiler.zip

this was attatched to th13

thprac version: 2.2.0.0 (latest), very similar situation happened to older versions too

from thprac.

32th-System avatar 32th-System commented on September 23, 2024

I've published a new version with a fix. If this issue no longer happens, I'll close the issue

from thprac.

hemisemidemipresent avatar hemisemidemipresent commented on September 23, 2024

its fixed for me, not sure about others so i wont close for now

from thprac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.