Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory testing (brand=phet-io) #373

Closed
pixelzoom opened this issue Mar 15, 2022 · 1 comment
Closed

Memory testing (brand=phet-io) #373

pixelzoom opened this issue Mar 15, 2022 · 1 comment

Comments

@pixelzoom
Copy link
Contributor

pixelzoom commented Mar 15, 2022

Test platform: macOS 12.2.1, Chrome 99.0.4844.51, MacBookPro16,1

Testing was done with a local build grunt --minify.mangle=false --brands=phet-io that has identical shas with 1.1.0-dev.37.

Stanalone PhET-iO sim was run from the Wrapper Index using local URL:
.../geometric-optics/build/phet-io/geometric-optics_all_phet-io.html?postMessageOnError&phetioStandalone&fuzz

Heap snapshots:

screenshot_1609

Snapshot 1 was taken immediately after starting the sim with no query parameters. It's the baseline memory footprint.

Snapshots 2-11 were taken at 1-minute intervals, running the sim with ?fuzz, similar to the testing procedure described in the QA Book.

Snapshot 12 was taken 10 minutes after Snapshot 11, to test the sim's memory consumption over a longer period of time.

Conclusions:

  • Results are similar to brand=phet in Memory testing (brand=phet) #372.
  • Heap size stablized ~58MB.
  • Heap size decreased between some snapshots.
  • There is no indication of memory leaks.

I'll leave this issue open so that it can be referred to during the QA process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant