Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to profile and measure C#/C++/Java code performance with VSCode?

I have searched somewhat within VSCode extensions, plugins, googled, but nothing seems to give me similar tool as standard VS provides.

There is a whole list of code profilers for the big VS, (only .NET and managed c++)..

With the 'real' VisualStudio you have pretty advanced profiling tools, supporting many languages, that MSVS supports.

But I can't get anything for VSCode. (Yap, I found this answer, but seems to me much too complicated. If there was anything with GUI, similar to JavaScript built- in profiler - would be awesome :)

Is anyone aware of such possibility for C#/C++/Java, please ?

Target: Linux server, Linux embedded, but I can run (just C# code) on windows too.

like image 713
Sold Out Avatar asked Dec 10 '25 02:12

Sold Out


1 Answers

Intel VTune Profiler supports .net core and C++ (binary) code, works on Windows and Linux, works stand alone (though it can integrate with Visual Studio) and it is completely free. Also, it is kind of "heavy artillery" among profilers, it is more advanced than VS tools.

https://www.intel.com/content/www/us/en/developer/tools/oneapi/vtune-profiler-documentation.html

like image 94
ElDog Avatar answered Dec 11 '25 16:12

ElDog



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!