385 points · by jotto · 9y ago · 217 comments
Whoever worked on this, you deserve a raise. QOL improvements for so many people.
On the other hand, it appears all extensions now have a >50MB memory usage floor. For example, the Authy extension was using 5MB under Chrome 54. It's now using 55MB on Chrome 55. Similarly the simple archive.is button extension went from 5MB to 55MB. That's a lot of RAM for spartan functionality.
For the record, I'm using the chrome://system/ page to compare before and after.
That said, it may be possible the additional memory usage for extensions may be a reporting change as opposed to an actual memory increase. Unsure either way.
https://groups.google.com/a/chromium.org/forum/#!msg/chromiu...
I'm using shift+esc task manager, and top to see overall system free ram.
The shared memory figures in the session test (10 tabs and 15 extensions) were all at 0 in both Chrome 55 and 54.
Browser 324 MB private, 83 MB shared
Browser 226 MB private, 67 MB shared
Geez. If that's something we need to be happy about, we're doomed.
I had to rediscover how to do this, or OneTab changed in its behavior. You have to go to your extensions screen (Chrome), scroll way to the bottom, and set your shortcuts for extensions there.
Just FYI, as setting extension shortcuts in general wasn't intuitive to me.
> "The Great Suspender" is a free and open-source Google Chrome extension for people who find that chrome is consuming too much system resource or suffer from frequent chrome crashing. Once installed and enabled, this extension will automatically suspend tabs that have not been used for a while, freeing up memory and cpu that the tab was consuming.
https://chrome.google.com/webstore/detail/the-great-suspende...
https://chrome.google.com/webstore/detail/session-buddy/edac...
Sure memory is cheap vs. developer time, but still.
around 8gb free out of 16, compared to 1-2gb free previously.
1-2gb only left is something that greatly lowers the quality of developer time.
- no multiple tab rows
- when you launch, it reloads every single tab vs loading only the active one (the only sane option), causing massive slowdown and network traffic
- as a result in Firefox you can have 100's of tabs, open the browser, work in a few and close, without affecting anything.
- Firefox had Tab groups, an awesome visual representation, before they made it optional due to everyone copying Chrome's limited feature set.
- Chrome still uses much more memory
- Firefox extensions are by design much more powerful. e.g. Session Manager. And things like Tree style tabs etc.
FF extensions are really great compared to Chrome (apart from some Chorome Apps). My only remaining gripe with Firefox is the tab spinning problem (it seems to improve after every new build. I'm on nightly.).
I'm sorry, I just don't see any reason to celebrate.
Great work is done piece by piece.
I just want to see text, images, and video with light formatting and hyperlinks. This _doesn't_ require hundreds of megabytes of memory. It would involve restricting what the new web could do and those restrictions would make things better. We don't need the kitchen sink in every page.
Sounds like you want to set a mobile user-agent string. Most sites will avoid serving you the whole 'kitchen sink'.
But requiring 250MB of memory, AND some doesn't even load 60fps smooth on latest machines. At times i wonder if there is something fundamentally wrong with the Web Stack.
(I think..)
The solution is to lay out sprite sheets to minimize blank space. Rearranging the sprites can easily get the number of blank pixels down to ~5-10%, thus saving ~7 MB, in essentially all browsers.
That leaves with 200MB memory gods knows what they are.
Or just go to http://wttr.in/
That's the wrong Santa Rosa, in the wrong country. There's an interesting bug in there somewhere.
Note that even if you get the country right it won't be enough, because there is a "Springfield" in each of the 50 states. You'll have to get keep all of the location info you get from the IP lookup, not throw part of it away and attempt to recover it.
> Search weather for city
For other options see http://wttr.in/:help
https://www.wunderground.com/cgi-bin/findweather/getForecast...
Note you can click the controls at the top right of the graph and add/remove elements. The graph is a bit heavy, but that may be necessary to generate the visualization.
Same trick works for many sites, particularly old media (TV, newspapers, content spam etc).
https://www.weather.gov but mixed content
This is a slow down caused by browser rendering/parsing/JS execution. I'm not sure what the server operating system would have to do with it.
That AngularJS is a slow piece of ... is another part. I coded up a simple Twitter client using Cordova with Angular, scrapped and rebuilt it in jQuery with Cordova (was a test if one can actually build a backendless Twitter app). Such speed, many awesome.
I guess many of the "hipster" JS devs use the latest, max-spec macbook/iphone only and totally ignore the rest of ordinary PCs/average Android phone, or they wouldn't dare to touch Angular and friends even with a pole.
Source: operating a couple Drupal instances.
under firefox I normally had 120 tabs open all the time, and it's fine. with chrome, I dare not to exceed 60 tabs. chrome triggers heavy swap all the time still, which renders the system very sluggish.
Nowadays I do a "killall chrome; sleep 2; killall chrome" whenever it starts to trash the disk and giving me the bad vibe.
Both Chrome and Firefox have multi-process sandboxes now, Firefox is a little behind and plans to enable multiple content processes next year.
While Chrome's is more granular, it does share processes between web pages from the same domain so won't start a new one for quite every tab.
Firefox is more than just a little bit behind when it comes to sandboxing though... there's a LOT more to sandboxing than splitting up processes. That doesn't result in any meaningful isolation without a lot of further work, and improving sandboxing is a major undertaking that Chrome has been working on for years.
Copy-on-write means this needn't be a large overhead. Only pages that change after forking are duplicated.
Unless you set your vm.overcommit_memory sysctl variable to 1 (= never refuse malloc), duplicated writable pages are going to subtract from available memory, even if all copies are currently the same.
Chrome Extension: https://chrome.google.com/webstore/detail/tabist/hdjegjggiog...
Firefox Extension: https://addons.mozilla.org/en-US/firefox/addon/tabist/
source code: https://github.com/fiveNinePlusR/tabist
Let me know if you find it useful or have any suggestions. (patches are awesome too)
https://chrome.google.com/webstore/detail/the-great-suspende...
It freezes your tab after a set amount of time, freeing up the memory for each tab.
All I am saying is that there are situations when a lot of tabs is the best option given the circumstances, e.g. lots of data entry work.
Tabs, by virtue of being there bugging you, are bookmarks, to-do lists, and task reminders all in one.
it's the best thing to have all your tabs stacked on the side of the screen and still fit, alongside with a search bar!
"All the improvements discussed above reduce the Chrome 55 overall memory consumption by up to 35% on low-memory devices compared to Chrome 53. Other device segments will only benefit from the zone memory improvements."
"Figure 5 shows the peak zone memory improvements since M54 which reduced by about 40% on average over the measured websites. "
From: http://v8project.blogspot.ca/2016/10/fall-cleaning-optimizin...
https://v8project.blogspot.co.nz/2016/10/fall-cleaning-optim...
Excited for electron + node to get this improvement.
It's 2016.
Do you have any extensions like that might be causing it?
But that should not be it - because it works fine on startup.
Every once and a while, screen goes black for most pages, even on reload.
Have to restart.
I shouldn't have to tinker to get a web browser to just load pages.
> V8 version 5.6, which will be in beta until it is released in coordination with Chrome 56 Stable in several weeks...
> Starting with 5.6, V8 can optimize the entirety of the JavaScript language.
http://techdows.com/2016/10/fix-chrome-54-looks-zoomed-in.ht...
I have to start the process with "--force-device-scale-factor=1" to make it stop.
If you want to have a single key on Linux representing going back again, I would recommend not to overload the backspace, but pick a key you don't need.
On my system F7 I never use, so it's perfect for this purpose.
$> xmodmap -e 'keycode 73 = XF86Back F7 F7 F7'
Or persistent:
$> keycode 73 = XF86Back F7 F7 F7 >> ~/.xmodmap
I hope I save you all a lot of keystrokes in the future!
http://v8project.blogspot.ca/2016/10/fall-cleaning-optimizin...
Are those really kilobytes? Not megabytes?