Skip to content

Instantly share code, notes, and snippets.

@jcorbin
Created March 20, 2021 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcorbin/82fb7dd9e737f6cd3b2c3a5a718f9b0d to your computer and use it in GitHub Desktop.
Save jcorbin/82fb7dd9e737f6cd3b2c3a5a718f9b0d to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jcorbin
Copy link
Author

jcorbin commented Mar 20, 2021

A trace from the old program:
image

Notes:

  • experience around 20 GCs in around 1.4s
  • HWM heap around 61.4MB
  • the secondary rows that appear to be nearly solid yellow/brown-ish are syscalls

@jcorbin
Copy link
Author

jcorbin commented Mar 20, 2021

A trace from the new program:
image

Notes:

  • after several GCs during a warm up phase, the heap remains stable, and no more GCs happen
  • HWM heap around 43.1MB
  • syscalls are much less rampant

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