itsjfx / node-dota2-user

A Node.js module to connect to and interact with the Dota 2 game coordinator.
GNU General Public License v3.0
11 stars 1 forks source link

Abnormal CPU Resource Usage #9

Open LInkerH opened 10 months ago

LInkerH commented 10 months ago

When I run the file in the example, the CPU usage remains at full load, even if I stop the program, it has no effect, and I have to close my IDE.

IDEA version : IntelliJ IDEA 2023.1.4 CPU: I7-8700

itsjfx commented 10 months ago

Hi there, at the moment I rely on a lot of type inference, utility types, and some "hacky" ways to accomplish the strict type-ness of the module. I suspect this may be causing performance issues with your IDE.

I'll see if I can address these issues, although I'm somewhat held at the will of the module I use for generating TypeScript code out of protobufs.

Thank you for the report.