performance - Profiling ASP.net applications over the long term? -
what accepted way instrument web-site record execution statistics? how long takes x for example, want know how long takes perform operation, e.g. validating user's credentials active directory server: authenticated = checkcredentials(login1.username, login1.password); a lot of people suggest using tracing , of various kinds, output, or log, or record, interesting performance metrics: var sw = new system.diagnostics.stopwatch(); sw.start(); authenticated = checkcredentials(login1.username, login1.password); sw.stop(); //write number log writetolog("timetocheckcredentials", sw.elapsedticks); not x; x the problem i'm not interested in how long took validate user's credentials against active directory. i'm interested in how long took validate thousands of user's credentials in activedirectory: var sw = new system.diagnostics.stopwatch(); sw.start(); authenticated = checkcredentials(login1.username, login1.password); sw.stop(); timetocheck...