Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36
Chrome 68
Windows 7
Desktop
3 years ago
Test name Executions per second
Get-Set object prop in 2-each-times 1353.9 Ops/sec
Get-Set-trim in 1-each-time 1342.8 Ops/sec
Script Preparation code:
Tests:
  • Get-Set object prop in 2-each-times

  • Get-Set-trim in 1-each-time