© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
InsertPi

✅ Collecting hotspot data on Linux in a threaded .NET environment

I'm working on optimizing some parallel code, and would like to be able to profile the code and collect hotspot data so I can determine how much time is spent doing useful work vs. how much time is spent as overhead managing work-sharing across the threadpool I create. I looked at
BenchmarkDotNet
BenchmarkDotNet
, but the
EtwProfiler
EtwProfiler
is only available on Windows. I've been developing this whole project on Linux, and would prefer to benchmark on Linux as well due to the low OS overhead/idle CPU usage. What is the best way to do this?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

What do use in a multi-threaded environment?Dictionary with lock OR ConcurrentDictionary?
C#CC# / help
2y ago
Setup ASP.NET on Linux Server
C#CC# / help
2y ago
✅ Hosting ASP.NET (.NET 9) on Linux vs Windows
C#CC# / help
11mo ago
❔ Hardlink in Linux .NET 6.0
C#CC# / help
3y ago