Trace loop who gets slower every interation

Can i use .trace to trace my code.

In big lines its a loop looping 15000 id's

The id's data where loaded from the database every iteration.

Then it adds data for every id.

Add first it loops 250 ids a second but in the end it loops 1 id per second.

How can i trace this with .trace?

1 comment
Comment actions Permalink



Yes, you can use dotTrace to profile any application written on .NET. Please see our documentation for details:


Please sign in to leave a comment.