~/talk

Can we Make PowerShell… Blazingly Fast?!

name:Rob Pleau
links:none on file
slides:none on file

Compares concrete benchmarks: bubble sort in Go vs PowerShell (Go wins at 1k ~5×, at 10k ~117 ms vs 7.7 s), a compiled C cmdlet 10× faster than PowerShell, Measure-Command with a TimeSpan diff drives numbers, Get-Content versus System.IO.File shows raw file reads ~24× faster, ArrayList vs += array replaces seconds with milliseconds, ForEach/Where magic methods beat pipeline variants, and Start-ThreadJob can beat Start-Job but parallel overhead often makes it slower for short tasks — tools, exact timings, and when each approach actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 3:14PowerShell vs compiled languages
  3. 6:47Bubble sort vs Go
  4. 12:22ForEach-Object comparison
  5. 18:09Where-Object magic methods
  6. 23:40Arrays vs ArrayList vs Generic List
  7. 32:33Functions versus commandlets in PowerShell
  8. 36:29Native vs .NET objects
  9. 39:39Jobs vs thread jobs
  10. 44:02Hash tables vs PS objects
  11. 45:07Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.