self profiled API - can you capture timeline profile
When using JetBrains.Profiler.Windows.SelfAPI can I capture Timeline profile? One area of your documentation states you can: https://www.jetbrains.com/help/profiler/API_Usage_Examples.html
Insert calls to methods of the PerformanceProfiler or TimelineProfiler class into your code as required by your use case. If you start profiling right after the self-profiling initialization, add a short wait (the SelfAttach API requires some time to start):
-------------
Another area of your documentation says you can not: https://www.jetbrains.com/help/profiler/API_Usage_Examples.html
As the profiler is attached to the already running process, there is a limitation* on the profiling type - it could be only Sampling.
Please sign in to leave a comment.
Hi David,
Yes, you can capture Timeline snapshots when using SefAPI. We will fix documentation shortly, thank you!
Where can I find the dotTrace profiling SDK for version 2016.2?
David,
This version can be downloaded from here: https://download-cf.jetbrains.com/resharper/JetBrains.Profiler.SelfSdk.2016.2.zip
Please note that it is strongly recommended to use the latest version of SDK - it has some performance and stability improvements.
Hello Konstantin,
I have initially coded utilizing the latest SKD, but the problem is that my company's current license if for the 16.2 version of Resharper. When trying to view the profile which was captured via the self-profiling feature of the 17.1.2 SDK, I get an error stating I need to create the profile in the same version as my viewer.
Is there something I am doing incorrectly? Should I be able to view a profile created with 17.1.2 SDK using dotTrace 16.2? Is there an option in the SDK to set the version of the profile you want to create?
Thanks,
Dave
Nvrmnd, I just realized we can upgrade at no additional cost. Thought our license was version specific.