clinicjs / node-clinic

Clinic.js diagnoses your Node.js performance issues
https://clinicjs.org
MIT License
5.67k stars 125 forks source link

Question: Is this project active? #474

Closed drodil closed 1 month ago

drodil commented 1 month ago

Just a question: is this project still active and are there any new releases to be expected?

RafaelGSS commented 1 month ago

I'm one of the maintainers, but I have to say this project doesn't get much of my time, so unless the issue is affecting me directly, it's unlikely to be solved (unless someone else created a PR), so I'm happy to review.

simoneb commented 1 month ago

I'm speaking on behalf of Nearform, who created this project, and unfortunately we are not actively maintaning this anymore either. The project still works to a certain extent, but given its tight coupling to Node's internals, we do expect things to stop working or not working consistently as Node.js evolves, which may partially be the case already now.

RafaelGSS commented 1 month ago

we do expect things to stop working or not working consistently as Node.js evolves, which may partially be the case already now.

That's correct. Clinic.js does work on Node.js 20 and 22, but might not be accurate, and in fact for kernel-tracing it's almost not working with accuracy.

drodil commented 1 month ago

Ok, thanks for all the answers!

Do you have any tips what could be useful for Node profiling besides this project? I somehow feel there are no good tools for that and it's something that is missing from the ecosystem. Sure Node itself can produce profiling information but visualizing it and digging in the data is not intuative.

RafaelGSS commented 1 month ago

There are several ways of doing profiling on Node.js, V8 profiling, flags such as --cpu-prof. This is a good example https://nodejs.org/en/learn/getting-started/profiling.

Nearform also has some blog posts (If I recall correctly) around this subject. I particularly wrote this one too https://blog.rafaelgss.dev/node-cpu-profiler.

simoneb commented 1 month ago

There are several blog posts from past years on our website about Clinic, although they're more descriptive than technical, and you will find largely the same information on the Clinic website.