~/talk

99 Problems, but Slow PowerShell Ain't One!

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

Uses the Profiler module by Jakub Jareš to run trace-script traces, export flame charts to speedcope, and compare flagged before/after runs; shows a concrete case where switching from pre-7 plusEquals to a System.Collections.Generic.List cuts a task from ~6.2s to ~1.2s, demonstrates preheat to halve cold-start time, and profiles a PowerShell profile load that spends most time in Invoke-WebRequest (~3s total) so web calls are the actual bottleneck.

AI-written summary · about

  1. 0:00Introduction
  2. 3:02What is Profiler
  3. 5:13Profiler commands
  4. 6:16Trace-Script basics
  5. 7:40Analyzing trace output
  6. 11:52Real-world GUID example
  7. 15:25Duration vs self-duration
  8. 18:01Preheat for performance
  9. 22:17Optimizing with flags
  10. 26:19Before and after comparison
  11. 29:08Counting words in Alice
  12. 34:04Flame charts with SpeedScope
  13. 36:36Profiling PowerShell profile
  14. 41:35PowerShell 7.5 update & Q&A
~/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.