Closed zepumph closed 1 year ago
Blocking friction PhET-iO
After the above commits, we are down to 47MB after 50 create/dispose calls.
Ok on master right now I am loading a plain friction at 40MB, and creating 50/100/200 preferences dialogs (and disposing them) results in 46.5MB
createDisposing 100 preferences dialogs with RAP goes from 61.2 -> 64.9
I see that the media pipe options doesn't support dispose (see https://github.com/phetsims/scenery/issues/1494#issuecomment-1341804903 but also it doesn't block publication), but otherwise I think we are done here. Closing
When creating and immediately disposing 50 preferences dialogs for Friction, the memory increased from 37MB to 66MB. Related to https://github.com/phetsims/scenery-phet/issues/769 but I think we have tightened things up more over there.