Benchpress

Comparing Command Lookup

(@ 2095 Mhz)

Aliases

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:00.006846 1x 14606.64/s
Get-Command 100 00:00:00.022018 3.22x 4541.68/s

All

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:00.006340 1x 15772.37/s
Get-Command 100 00:00:00.020385 3.22x 4905.57/s

Applications

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:00.701075 1x 142.64/s
Get-Command 100 00:00:02.138223 3.05x 46.77/s

Cmdlets

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:00.006591 1x 15171.74/s
Get-Command 100 00:00:00.014470 2.2x 6910.42/s

Function

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:00.006658 1x 15017.72/s
Get-Command 100 00:00:00.014816 2.23x 6749.41/s

WildcardMiss

Technique RepeatCount Time RelativeSpeed Throughput
$executionContext 100 00:00:01.343495 1x 74.43/s
Get-Command 100 00:00:04.243190 3.16x 23.57/s