Closed Denz1994 closed 5 years ago
Testing on Windows 10 Chrome ( Version 71.0.3578.98 ) Incognito mode. Snapshots were taken with 15-20 intervals.
I will run another test on iOS to be thorough.
Testing on iOS (10.13.6) Chrome (71.0.3578.98) Incognito mode with 15-20 minute intervals between snapshots.
In a zoom discussion with @jonathanolson it was explained that there is a better process for memory leak testing.
Process:
grunt --minify.mangle=false
This process is definitely more consistant and saves time. Previously runs would be extended due to variability in object creation at the time of the heap snapshot. Steps 3-6 ensures we are always using a specific state after the sim has been running for a while and testing against that same state.
I'll rerun the test and post results here.
Testing on iOS (10.13.6) Chrome (71.0.3578.98) Incognito mode with 30 minute intervals between snapshots.
The results are similar as above. There isn't anything here that stands out as a memory leak. Closing this issue. Thanks @jonathanolson for the input.
Opening for #48.
Memory leak testing should be tracked and documented here. I will start a test and have the reviewer of #48 confirm memory leaks aren't present.
I expect results to be similar to https://github.com/phetsims/masses-and-springs/issues/339.