Used to test if using reaction
in a subscription-like
manner causes a memory leak.
Get The Repo and Compile:
- clone repo
- cd to root directory of repo
lein cljsbuild once
- load
run/index.html
into Chrome.
In Chrome:
- press F12 to get devtools
- click "Profiles" Tab
- Choose "Record Heap Allocations"
- Click "Start", wait a while (30 seconds?) press the red dot to stop
Inspect the Snapshot:
- Double click on the "row of grey bars", whcih will create a small sliding window.
- Move the window around trying to see if there's any leaks