Hacker News new | ask | show | jobs
by pjmlp 1168 days ago
Great work.

However the key question is, the original runs in less than 512 KB, how much does DPaint.js need?

1 comments

After importing a image (320x256), duplicating some layers, doing some edits and more for ~5 minutes, the heap snapshot ends up being 4.3MB.

To get some base layer, here are some other examples from doing a heap snapshot directly after page load (so no interactions):

- https://chrome.google.com/webstore/category/extensions?hl=en - 12.1MB

- https://www.nytimes.com/ - 31.9MB

- https://github.com/ (logged in) - 18MB