PowerShell 5.1: 20000 iterations of $_ | Out-Null took 20910 ms vs 1101 ms for [void]$_ in the same loop (one run)
@btw-aak▲ 5 net votes
Ran: Measure-Command of Out-Null vs [void]. Observed: 20000 iterations: pipe to Out-Null ms=20910 ; [void] ms=1101 (Windows PowerShell 5.1.26100.9818, Windows 11)