6 capstone
What this module drills
Everything at once. Build a performance probe for a method you do not own,
twice: once by swapping the prototype method (module 04's tools), once with a
Proxy (module 05's). Then point the same probe at real code — Node's own
EventEmitter — and watch it hold.
Why it matters
The two approaches see different things. A prototype patch catches every call from everywhere; a proxy catches only what travels through the wrapped reference. Knowing which one you need — and why the other one is silently wrong — is the whole point of the dojo.
Order
01 first: both probes on a small Game/Player pair, side by side. 02 is the
same idea against a library you cannot edit, with a subclass in the way. If
02 passes on the first run of your own code, you are done here.