Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Superluminal #3

Open
JonnyOThan opened this issue Sep 25, 2024 · 2 comments
Open

Integrate Superluminal #3

JonnyOThan opened this issue Sep 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@JonnyOThan
Copy link

This could be useful... https://www.nuget.org/packages/SuperluminalPerf/

Superluminal supports Unity out of the box, but not the version that KSP uses.

@JonnyOThan JonnyOThan added the enhancement New feature or request label Sep 25, 2024
@gotmachine
Copy link
Contributor

gotmachine commented Sep 26, 2024

Well, upgrading the unity version KSP uses is definitely quite difficult.
On a side note, lately I've been using DotTrace extensively with great results in simple manual capture mode, but it also has an API that could in theory allow for targeted profiling of specific code.

@JonnyOThan
Copy link
Author

Right, I looked briefly into updating KSP's unity version and I don't think it's really feasible. But Superluminal has an instrumentation API we could use (and the thing I linked above is C# bindings for it, though I'm not sure if it's compatible with .net 4.5).

I'll have to check out DotTrace as well. Perhaps consider this issue more as a general "integrate with external profilers" item.

Superluminal is one of the best tools I've used for native code - it has a sampling profiler with 8khz sample rate where most are 1khz. The only thing better I've seen is intel's vtune but it can only be used on intel chips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants