The same classes and enums are defined in each of the three ways, and are imported multiple times into a PowerShell session. The test measures how long it takes to import the class and enum types into ...
The PerfMon tool has a lot troubleshooting advantages going for it, but its interface isn't necessarily one of them. Here's an alternative. Performance counters have been around forever in Windows.
[