Welcome to MSDN Blogs Sign in | Join | Help

September 2006 - Posts

How to Read Performance Counters Without Administrator Privileges [Ryan Byington]

If you have ever tried to read performance counter data on a Windows 2003 machine as a non admin user you will have likely seen an exception like the following: System.UnauthorizedAccessException: Access to the registry key 'Global' is denied.
Posted by BCLTeam | 4 Comments
Filed under:

Why are NameValueCollection lookups slower than Hashtable? [Kim Hamilton]

An internal discussion came up recently on the performance difference of lookups in Hashtable versus NameValueCollection. Benchmarks revealed that NVC lookups were ~2-8 times slower than Hashtable. For example, when doing 40,000 lookups on a collection
Posted by BCLTeam | 7 Comments
Filed under:
 
Page view tracker