Hacker News new | ask | show | jobs
by eviks 193 days ago
Strange, checked the latest version of a counter app, same slow startup ~2sec as before and ~70M ram vs a native simple window app that takes 0.2s and 1M.
2 comments

When I switch to compiling with just the tiny-skia software renderer, the counter app is reduced to a 4MB binary that starts in 60ms (for first paint, 16ms for window creation) and takes 7M of RAM. So if you don't need GPU acceleration that may be more to your liking.
The RAM is from the wgpu buffer. It's not 70 ram for the counter. If you add 10,000 counters, it won't increase the ram.

Doesn't take 2 secs to load here, so maybe switch to a better OS