~/talk

PSCache: simple strategies for magnificent performance

slides:none on file

Presents concrete results: using PSCache module (a dictionary/hash lookup) reduces repeated Active Directory calls by an order of magnitude — often ~20× fewer queries — and returns cached objects quickly. Demonstrates microbenchmarks with Measure-Command and tools like chronometer and Measure-Script, showing variable-scope access is ~10× slower, arraylist insertions suffer resizing at large N, while a stack keeps O(1) push time even at 100k items. The cache approach proves effective.

AI-written summary · about

  1. 0:00PS cache and performance intro
  2. 1:13Computational performance basics
  3. 6:35Google performance terms
  4. 9:26PowerShell performance layers
  5. 13:19String reversal in PowerShell
  6. 18:18Measure-Command for performance
  7. 24:50Output suppression impact
  8. 29:53PowerShell upgrades and gains
  9. 30:40Pseudocode for optimization
  10. 34:57Advanced performance tools
  11. 41:09Introducing PS cache
  12. 46:31Q&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.