![]() ![]() As we can see, the two browsers heat up the computer almost to the exact same level – Safari even getting slightly warmer. This is something that Flotato also points out that both browsers heat up the MacBook Pro at the same levels, with Safari heating it more than Chrome, despite the former allegedly showing lower resource usage.Īnd then there’s this chart. When you do the same in Chrome, you rarely see any slowdowns because Chrome uses a lot more resources than Safari and stays fast and responsive. You start getting tab reloads and crashes at one point in Safari. It is true that Safari is more tightly integrated within macOS and is lighter on memory compared to other browsers, but it comes at the cost of performance, specially when you open multiple JavaScript heavy websites. Whatever the scenario might be, it is completely unrealistic to believe that Safari uses such little RAM. ![]() I suspect psrecord doesn’t catch Safari processes because Safari sends them off to launchd because they get launched via XPC, while Chrome’s subprocesses are “true” children. This can be tested easily by opening the same website on both browsers one-by-one, and noticing how it impacts available RAM.Īnother commentator on Hacker News mentioned that psrecord likely does not measure Safari child processes as the browser send them off to launchd. So while it is a known fact that Chrome uses more RAM than Safari, it is entirely inaccurate to claim that it uses 10X more RAM than Safari. I’m somewhat disappointed that the author, or half the comments on the post, didn’t question these wildly different results though… I guess it does for Chrome, for whatever reason. To the author’s credit, they are trying to include child processes – I’m not sure why, but psrecord seems to not (in local testing) include child processes for Safari even when the “–include-children” flag is passed. This post is unfortunately nonsense, because it’s making a fundamental measurement error: not including renderer processes for Safari, and only measuring the browser process (which should be expected to be roughly O(1) memory in the number of tabs). As per a developer from Chrome V8 JavaScript engine team on Hacker News: However, psrecord, the tool used to count the RAM usage, does not count all Safari processes. As there are no extensions in either browser, there is no concern about additional RAM usage by them. This includes not only the main browser process, but also processes created for each tab, and the renderer processes. The test does by Flotato aims to count all processes originating from both Safari and Chrome. Google optimizes Chrome for macOS to deliver Safari like battery life on Macs ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |