Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this questionWhat is a good profiler for .NET 4.0? I'm willin开发者_运维技巧g to spend some money, but not too much (say up to £50)
I'm developing games for windows phone and xbox using XNA, which means that the projects are commercial. I mention it because I've seen several which are free for non commercial use.
Extra points for Visual studio integration.
Nb. I'm using Visual Studio Professional 2010
A tremendously under-advertised free profiler is the SharpDevelop Profiler.
Screenshot:
(source: sharpdevelop.net)
It is really powerful, and supports the tremendously undocumented PSQL (Profiler SQL as they call it). For example, I can filter all the functions I am interested in by entering this in to the query bar:
for f in Functions where f.Name.Contains("Foo") select f
The EQATEC Profiler profiles just about everything .NET, including what you need:
- Full .NET 2.0 and above
- Windows Phone 7, both Silverlight and XNA apps
- Silverlight 2.0 and above
- NET CF 2.0 and above (WinCE, Windows Mobile)
- Xbox XNA (lacking integrated deployment to Xbox-device, though)
Long story short: the only thing it doesn't profile is .NET 1.x (full/netcf). No other profilers in the World works on this many .NET platforms. It's also known for being quite easy to use.
Slim Tune is a great profiler
Visual Studio 2010 has a pretty good builtin profiler (only available in the Premium and Ultimate editions though)
Another great profiler is dotTrace.
I only listed the profilers I know support .Net 4.0 right now, but do take a look at this older question about .Net profilers. Maybe some of them have recently added support for .Net 4.0 too. In any case, I don't think there are any new profilers out there, since it's a pretty complex topic.
Everybody wants a profiler, but this low-tech method works just fine.
精彩评论