Closed eelco closed 1 year ago
@eelco At the moment, memlab is using an older version of Puppeteer because the code is shared and used for internal testing at Meta and there are certain factors that lead to the use of the older version for now. We may update the code in the future to allow MemLab OSS to use the latest version of Puppeteer.
I tried using a local build with Puppeteer@19.4.1 + Chromium 109 to see if it would improve performance when taking heap snapshots, but I did not notice a significant speedup on my machine. I'm curious if you have experienced a different result on your machine.
Thanks for the clarification!
My issue is for two things:
I expect performance gains to come from the latter, but both require a more recent version of Puppeteer, which is why I created a single issue.
Looks like puppeteer has been upgraded in https://github.com/facebook/memlab/commit/872b30238f1728cbcdebfb9800d54972f8669d62
Currently memlab is using a relatively old version of Puppeteer, which uses an old version of Chrome (101). It’s also running the Intel version on Apple Silicon macs, which likely is not helping performance when taking huge heap snapshots. (I’m writing this issue while waiting on a 1GB heap snapshot.)
Can this be upgraded to a more recent version?