Here's why Chrome is SLOW (It's NOT your RAM)

Linus Tech Tips
14 May 202410:24

Summary

TLDR视频脚本探讨了Google Chrome浏览器的性能问题,从最初的轻量级和快速到现在被认为变得臃肿和消耗大量内存。讨论了用户习惯,如打开多个标签页,以及扩展程序对浏览器性能的影响。通过实验,发现某些扩展程序如LastPass和Grammarly会显著增加内存使用量,而像uBlock Origin这样的广告拦截器则能有效减少资源消耗。视频还提供了一些优化Chrome性能的建议,比如管理扩展程序和调整Chrome的内存节省设置。最后,提到了Google的Manifest V3更新,这可能会影响扩展程序的功能,尤其是广告拦截器和隐私增强扩展。整个视频以一种幽默且信息量丰富的方式,为观众提供了关于浏览器性能和优化的深刻洞察。

Takeaways

  • 🌐 Google Chrome 曾经因其轻量级、快速和出色的功能(如标签沙箱)而受到推崇,但随着时间的推移,它变得越来越庞大,占用了更多的内存。
  • 📚 用户的浏览习惯,如打开多个标签页,以及安装的扩展程序,都可能影响 Chrome 的性能。
  • 🔍 测试发现,并非所有扩展程序都会显著影响浏览器性能,有些扩展如 LastPass 和 Grammarly 会显著增加内存使用,而 uBlock Origin 则能有效减少内存使用。
  • 📈 当打开多个标签页时,内存使用量会显著增加,这可能导致性能问题,尤其是对于内存较小的系统。
  • 🛠️ 通过运行多个基准测试,研究了扩展程序对浏览器性能的影响,发现不同的扩展程序对性能的影响各不相同。
  • 🚀 浏览器性能的降低可能在实际使用中不明显,但对于一些重度用户来说,25%的性能下降是值得关注的。
  • 🧐 用户可以通过 Chrome 任务管理器监控扩展程序的活动和资源消耗,以识别和禁用那些不再需要或不活跃的扩展程序。
  • 💡 如果用户拥有充足的 RAM 和良好的标签管理习惯,可以在 Chrome 设置中关闭内存节省功能,以提高速度。
  • 🔧 关闭 Chrome 的预加载功能也可以提高速度,但这可能不适用于使用广告拦截器或隐私扩展的用户。
  • 📦 Google 的 Manifest V3 更新预计将显著改变 Chromium 扩展的功能,特别是影响广告拦截器和隐私增强扩展的效果。
  • 🎯 对于希望提高浏览器性能的用户,去除不必要的扩展程序是一个简单有效的解决方案,同时,统一业务管理软件(如 ODU)可以提高企业运营效率。

Q & A

  • 为什么早期的Google Chrome受到用户的欢迎?

    -早期的Google Chrome因其轻量级、快速以及出色的功能(如标签沙箱化)受到用户欢迎,这些功能使得浏览器在性能和用户体验方面有显著的提升。

  • 为什么Chrome现在被一些人认为表现不佳?

    -随着时间的推移,Chrome增加了更多功能和扩展,这可能导致了内存使用量的增加,使得Chrome在一些用户看来变得“膨胀”,影响了其性能。

  • 打开多个标签页对Chrome内存使用有何影响?

    -打开多个标签页会显著增加Chrome的内存使用量,尤其是当标签页数量增多时,这种影响变得更加明显。

  • 浏览器扩展对Chrome性能有何影响?

    -不同的浏览器扩展对Chrome性能的影响各不相同。一些扩展如LastPass和Grammarly可能会显著增加内存使用量,而其他一些如uBlock Origin则能有效减少内存使用。

  • 如何减少Chrome的内存使用量?

    -可以通过关闭不必要的扩展、管理标签页数量、调整Chrome的内存节省设置以及禁用不必要的跟踪功能来减少Chrome的内存使用量。

  • 为什么浏览器需要能够支持从老旧的网页到复杂的应用程序?

    -现代浏览器需要支持广泛的网页和应用程序,因为它们是用户访问互联网内容的主要方式,包括从简单的文本页面到复杂的图形和交互式应用程序。

  • 如何通过Chrome的任务管理器监控扩展的资源使用情况?

    -通过按下Shift + Esc键打开Chrome的任务管理器,可以在列表底部查看各个扩展的资源使用情况。

  • 为什么Google的Manifest V3更新可能会影响扩展的功能?

    -Manifest V3是Google对Chrome扩展API的更新,旨在提高安全性和性能。但这可能会限制某些扩展的功能,特别是广告拦截器和隐私增强扩展。

  • ODU软件如何帮助企业管理多个应用程序?

    -ODU提供了一个集成的业务管理软件平台,可以将多个应用程序整合到一个统一的操作界面中,从而简化了管理流程并提高了效率。

  • 为什么浏览器性能测试是一个复杂的任务?

    -浏览器性能测试复杂,因为浏览器需要执行多种不同的任务,从渲染图形到处理用户交互,而且浏览器的大小和功能随着时间不断增长。

  • 为什么浏览器的启动时间可能不是衡量性能的最佳指标?

    -浏览器的启动时间可能不是衡量性能的最佳指标,因为用户通常不会频繁关闭并重新打开浏览器。更重要的是在浏览器运行时的性能表现,如页面加载速度和响应时间。

Outlines

00:00

😀 Google Chrome的演变及其性能影响

Google Chrome最初以其轻量级、快速和出色的功能(如标签沙箱)受到用户青睐。然而,随着时间的推移,Chrome逐渐变得臃肿,内存消耗大。用户的浏览习惯,如打开多个标签页,以及安装的扩展程序,都可能影响浏览器性能。研究表明,某些扩展程序如LastPass和Grammarly可能会显著降低浏览器性能,而像uBlock Origin这样的广告拦截器则能有效减少内存使用。通过测试,发现在开启了多个常用网站和扩展程序的情况下,内存使用量显著增加,但用户体验并未有相应的提升。

05:00

🤔 浏览器性能的衡量与扩展程序的影响

衡量浏览器性能是一个复杂的问题,因为浏览器需要支持从简单的网页到复杂的应用程序。通过在标准硬件配置的机器上进行测试,研究人员观察了Chrome在不同情况下的内存使用情况,并发现某些扩展程序对性能有显著影响。例如,密码管理器LastPass和拼写检查器Grammarly在不同测试中显示出对性能的负面影响,而广告拦截器则在某些情况下能够提升性能。测试结果显示,当同时运行多个扩展程序时,浏览器性能可能会下降约25%,这对于重度用户来说可能非常明显。

10:00

🛠️ 如何优化Chrome浏览器性能

为了优化Chrome浏览器的性能,用户可以采取一些措施。首先,通过Chrome的任务管理器监控扩展程序的资源使用情况,并移除不再需要或使用频率低的扩展程序。其次,关闭Chrome的内存节省功能可以加快页面加载速度。此外,预加载页面也可以提升速度,但如果使用广告拦截器或隐私扩展,则可能不适用。最后,用户还可以通过禁用Chrome中的跟踪功能来提高隐私性。Google即将推出的Manifest V3更新将改变Chromium扩展的能力,可能会影响广告拦截器和隐私增强扩展的效果。

Mindmap

Keywords

💡Google Chrome

Google Chrome 是由 Google 开发的一款网络浏览器,它以其快速、轻量级和用户友好的界面而闻名。在视频中,讨论了 Chrome 浏览器随时间变化的性能问题,以及它是如何从一款革命性产品变成了一个占用大量内存的程序。

💡内存使用

内存使用指的是计算机程序运行时占用的随机存取存储器(RAM)的量。视频通过测试发现,Chrome 浏览器及其扩展程序对内存的占用随时间和使用习惯而增加,这直接影响了浏览器的性能。

💡扩展程序

扩展程序是为浏览器增加额外功能的小程序。视频中提到,不同的扩展程序对浏览器性能的影响各不相同,有些可能会导致性能显著下降,而有些则几乎没有影响。

💡动态缓存

动态缓存是一种技术,允许浏览器为不活跃的标签页保留缓存,而不是完全卸载它们。这样,当用户切换回这些标签页时,页面可以快速恢复,而不需要重新加载整个页面。视频中提到 Chrome 使用了动态缓存来处理多标签页的使用习惯。

💡广告拦截器

广告拦截器是一种浏览器扩展程序,用于阻止广告和追踪器加载,从而提高网页浏览体验和隐私保护。视频指出,某些广告拦截器可能会影响浏览器的渲染性能。

💡密码管理器

密码管理器是一种帮助用户存储和管理不同网站账户密码的工具。LastPass 是视频中提到的一个密码管理器,它在测试中被发现对浏览器性能有显著的负面影响。

💡性能基准测试

性能基准测试是一种评估计算机程序或硬件性能的方法,通常通过模拟特定的使用场景来进行。视频通过运行多个基准测试来评估浏览器和扩展程序的性能影响。

💡标签页管理

标签页管理指的是用户如何组织和处理浏览器中打开的多个标签页。视频提到,不良的标签页管理习惯,如打开过多标签页,可能会导致浏览器性能下降。

💡Manifest V3

Manifest V3 是 Chrome 浏览器扩展程序的新开发标准,预计将改变扩展程序的功能,特别是对广告拦截器和隐私增强扩展的影响。视频提到了这一更新及其潜在的影响。

💡ODU 软件

ODU 是一种全合一的商业管理软件,旨在帮助企业将多个应用程序整合到一个统一的平台中。视频的赞助内容提到了 ODU,强调了它如何帮助简化业务流程并节省时间和资源。

💡隐私跟踪

隐私跟踪涉及用户在网上的行为被追踪和记录的问题。视频建议用户可以在浏览器的设置中关闭跟踪,以提高隐私保护并可能提升浏览器性能。

Highlights

Chrome 曾是浏览器革命,以其轻量级和快速的特点取代了 Internet Explorer。

Chrome 引入了标签沙箱等特性,提高了浏览器稳定性。

用户不良的浏览习惯,如打开过多标签,可能导致 Chrome 内存使用增加。

Chrome 使用动态缓存处理未使用的标签,减少内存占用。

浏览器扩展可能对性能产生显著影响,如 LastPass 可降低性能达 12%。

大多数用户将 Chrome 作为默认浏览器,扩展对性能的影响不容忽视。

不同扩展对内存使用的影响各异,如 uBlock Origin 能有效减少内存使用。

打开的标签越多,内存使用量增长,对性能的影响也越大。

基准测试显示,某些扩展如 LastPass 和 Grammarly 对浏览器性能有显著影响。

关闭不必要的扩展可以显著提升浏览器性能。

Chrome 任务管理器可以帮助用户监控扩展的资源使用情况。

关闭 Chrome 的内存节省功能可以提高速度,但可能影响标签管理。

预加载页面可以提高速度,但与使用广告拦截器或隐私扩展的用户不兼容。

Google 的 Manifest V3 更新将改变 Chromium 扩展的功能,影响广告拦截和隐私增强扩展的效果。

Firefox 的性能尚未测试,但未来可能会进行比较。

ODU 的全合一商业软件可以整合多个应用程序,提高企业运营效率。

ODU 提供 CRM、销售、时间表和会计应用程序,以及与全球 28,000 家银行的集成。

ODU 提供免费的 14 天试用和专家团队的演示,帮助企业节省时间和资源。

Transcripts

00:00

man Google Chrome kind of sucks now

00:02

right I remember when everyone was

00:04

screaming stop using Internet Explorer

00:06

Chrome is so much faster was that all a

00:09

lie no actually Chrome was a revolution

00:13

it was lightweight fast as I'll get out

00:15

and it brought great features like tab

00:17

sandboxing so that if one of your tabs

00:19

froze your entire browser didn't have to

00:21

crash like the old days so what changed

00:24

then to turn Chrome into this bloated

00:26

Ram devouring Behemoth maybe it was

00:30

you me I mean I don't have the best

00:33

browsing habits I leave way too many

00:35

tabs open but Chrome has a way of

00:37

dealing with that using Dynamic caching

00:39

for the tabs I'm not using sure but is

00:42

Google the one who installed all those

00:43

extensions I mean I don't have that many

00:45

I just have zoto for tracking my

00:47

research language

00:49

tool tele party and an ad locker could

00:52

it be that his insatable thirst for

00:54

extra functionality is bogging down his

00:56

browser as it turns out yes I need to

00:59

make some Chang

01:00

but not every extension is made equal

01:03

while some had no effect on browser

01:05

performance others like last pass

01:08

reduced performance by as much as 12% an

01:11

effect that Stacks across your library

01:13

of resource sucking add-ons with 2third

01:17

of people using Chrome as a default

01:18

browser it's clear that we need to see

01:20

just how bad this situation is explore

01:23

what can be done to fix it and talk

01:25

about Google's solution including why it

01:28

might be a bad one so quickly now to the

01:33

lab wait this isn't the lab this is the

01:36

segue to our sponsor ODU if you own a

01:39

business you'll know what I mean when I

01:41

say you probably have too many apps

01:43

running at the same time with odu's

01:45

all-in-one business software you can

01:47

combine all of those into a single

01:49

unified platform so click the link in

01:51

the description to learn more our Labs

01:53

team has a fair bit of experience under

01:55

their belt testing video games and

01:57

productivity apps but this is one of our

01:59

first for into browser performance and

02:02

how exactly you measure browser

02:04

performance is a big question primarily

02:06

because browsers are big programs

02:09

chromium the open source framework that

02:11

Chrome is based on is 31 million lines

02:15

of code that is almost as much as the

02:17

Linux kernel the core of Linux based

02:19

operating systems and it's close to the

02:21

estimated count for older complete

02:23

operating systems like Windows XP which

02:26

Probably sounds ludicrous right until

02:28

you consider that I mean outside of

02:30

games how many programs do you run that

02:33

aren't in your browser and of those ones

02:35

how many of them are just web apps that

02:37

could run in your browser so the thing

02:39

is modern browsers need to be able to

02:41

support pretty much everything from

02:43

28-year-old geoc cities pages to

02:45

full-blown Photoshop clones so coming

02:47

back to the question of how to measure

02:49

their

02:50

performance it's challenging because

02:52

browsers do a lot of different things

02:54

but we're going to do our best starting

02:56

with a machine that is based on the most

02:58

common specifications in a recent steam

03:00

Hardware survey to look at memory use we

03:03

opened up Chrome to a set of common web

03:05

pages and on a clean system measured our

03:08

idle RAM usage at around 1.1 GB which

03:11

increased to 1.25 when we were streaming

03:13

4K video even on a system with just 8

03:16

gigs of RAM that's not a problematic

03:18

amount of usage and it's important to

03:20

note that even if it was higher that

03:22

isn't necessarily A Bad Thing programs

03:25

that need to access information quickly

03:28

will benefit from using up more R and as

03:31

long as they give it up in the event

03:32

that your Os or another program needs it

03:35

it's not really a problem but what

03:38

happens when we add extensions well as

03:40

it turns out it depends on the type our

03:42

password manager last pass and our

03:44

thirdparty spell checker grammarly both

03:47

used considerably more RAM than say

03:49

coupon code collector honey one

03:52

extension insert usual disclaimer about

03:54

the impact on creators actually reduced

03:56

our overall RAM usage and that was

03:58

ublock origin which is clearly

04:01

effectively blocking ads and trackers

04:02

from sapping our system resources though

04:05

funnily enough the more popular ad block

04:08

extension didn't have the same effect

04:10

which kind of makes us question its

04:11

Effectiveness especially when they

04:13

advertise that their extension saves

04:15

memory overall with 10 of the most

04:17

popular extensions we observed a nearly

04:19

50% increase in RAM usage with half a

04:23

dozen tabs open that's not that big of a

04:25

deal but as your tab addiction grows so

04:28

unfortunately does your Problem by the

04:30

time we reached 48 tabs we were looking

04:32

at a whole 2 GB of extra RAM usage for

04:36

what is functionally the same user

04:38

experience I mean you're not looking at

04:40

all those windows at once are you I mean

04:43

of course if you have ample system

04:44

memory you're probably not going to

04:46

notice the difference anyway will you

04:48

actually you might to gauge performance

04:51

of our browsers we ran several

04:53

benchmarks that aim to test the many

04:55

features of the web in motion Mark which

04:58

measures Graphics per performance in our

05:00

browser most of our extensions caused

05:02

virtually no change in performance

05:04

except this is kind of a funny one our

05:06

ad blockers you see ad blockers need to

05:09

interact with the rendering pipeline in

05:10

order to hide ads without turning your

05:12

web pages into a completely fragmented

05:14

mess and that appears to have resulted

05:16

in a reduction in in browser rendering

05:19

performance now in the real world this

05:21

slowdown is going to be masked by other

05:23

speed benefits but we thought it was an

05:25

interesting observation nonetheless

05:27

moving on to speedometer a benchmark

05:29

that's f focused on simulating user

05:30

experiences like working with a to-do

05:33

list editing Rich Text rendering charts

05:35

and reading news sites we found a

05:37

totally different story here it's last

05:40

pass causing a big slowdown and our best

05:42

guess is that this is due to last pass

05:44

trying to scan every text field for

05:46

potential autofill opportunities in jet

05:49

stream 2 a benchmark that's focused on

05:51

smooth

05:52

operation we found that ad block and

05:55

grammarly did a lot of damage but then

05:57

last pass was relatively benign and then

05:59

in web expert 4.0 we measured just 3%

06:03

reduced performance with all of our

06:05

extensions enabled at once so sometimes

06:07

your extensions matter sometimes they

06:09

don't and sometimes different ones will

06:11

or won't the results just don't really

06:15

seem to add up to a clear picture but

06:17

hey maybe the problem is we're looking

06:18

too closely if we zoom out and look at

06:21

the overall a clear Trend develops

06:24

especially when we configure our browser

06:26

like a regular person would and we have

06:28

multiple extensions running concurrently

06:31

with everything enabled we lose

06:32

something like a quarter of our

06:34

performance in the Chrome web browser if

06:36

you're a major Surfer 25% that's the

06:39

kind of difference that you could really

06:41

notice in day-to-day use I mean think of

06:43

all the extra LTT behind the scenes that

06:45

you could watch on lm. g/ flat plane

06:47

with all that extra time so what do we

06:49

do about this well some extensions are

06:53

always consuming some level of system

06:55

resources and you can track this

06:56

Yourself by pressing shift escape to

06:58

open the Chrome tab task manager at the

07:01

bottom of your list will be your

07:02

extensions and writing this right now

07:04

I'm noticing some of my extensions being

07:06

needlessly active page downloader single

07:09

file why is that open I'm not

07:11

downloading anything but then the PDF

07:14

editing extension that I'm using seems

07:15

to respect the fact that I don't always

07:17

need it running and it's not consuming

07:18

anything now's a perfect time then to go

07:21

through and call some of your more

07:23

inconsiderate extensions especially if

07:25

you aren't using them that much anymore

07:27

all it'll cost you is a few seconds to

07:28

click that little puzzle block and

07:30

here's a good rule of thumb if you don't

07:32

remember the last time you used it or

07:34

what it's for just get rid of it you can

07:36

always reinstall it later if you have

07:39

lots of RAM and good tab management

07:41

turning off the memory saving feature in

07:43

Chrome will speed things up as well as

07:45

Chrome will spend less time reloading

07:47

Pages preloading Pages can also speed

07:50

things up but if you're someone who uses

07:51

an ad blocker or a privacy extension

07:54

pre-loading isn't really an option

07:56

speaking of privacy this is unrelated to

07:58

your extensions but what you're in the

07:59

menu why not stop by the add privacy

08:01

section and turn all of that tracking

08:03

off we can't really give you an after

08:05

result for the impact of all the changes

08:07

you just made I mean your mileage may

08:08

vary depending on what you removed or

08:10

didn't and your overall web browsing

08:12

habits but from what we've seen

08:14

anecdotally it is very possible that

08:16

you'll notice a

08:17

difference just not in startup times

08:20

this was a really interesting part of

08:21

our test that we're tacking on the end

08:23

here we found that with a reasonable

08:25

extension load out the application takes

08:27

about the same amount of time to Launch

08:29

regardless of what you do or don't have

08:31

active then again I guess who cares

08:34

anyway because when's the last time you

08:35

closed Chrome I see that update button

08:38

the last thing that you can do is to

08:40

uninstall chrome and I'm only kind of

08:43

joking right now the roll out of

08:45

Google's manifest V3 is set to

08:47

dramatically change the capabilities of

08:49

chromium extensions which by the way

08:52

also affect Microsoft Edge now

08:54

especially hindering the effectiveness

08:55

of ad blockers and privacy enhancing

08:58

extensions we have haven't tested

09:00

firefox's performance with you know

09:02

extensions or without cuz realistically

09:04

most of you aren't using it but hey

09:07

maybe next time we do an update on this

09:08

the situation will have changed because

09:10

you'll have listened to Our advice why

09:12

not give it a try and while you're at it

09:15

why not try out our sponsor Odo if

09:17

you're running a business keeping track

09:19

of a hundred different apps all running

09:20

at once can be a pain I mean just

09:22

imagine all those Chrome tabs with odu's

09:25

all-in-one business management software

09:27

you can combine them into a single

09:28

Unified operating system check out their

09:31

CRM and sales apps which make lead

09:33

generation and closing deals easier than

09:35

ever their time sheets app helps you

09:37

keep close track of your employee

09:38

schedules and their accounting app lets

09:41

you autocreate and send invoices and it

09:43

integrates with 28,000 Banks from all

09:46

around the world and if you only need

09:49

one single app to shore up some holes

09:51

hey you can get access to that for free

09:54

so start saving time and resources by

09:56

unifying your processes with ODU you can

09:58

check them out in the description for a

10:00

free 14-day trial or to set up a demo

10:03

with their expert team thanks for

10:05

watching if you guys liked this video

10:06

maybe you'll enjoy another Deep dive

10:07

into minor differences in computer

10:09

performance check out our video where we

10:11

tested 12 of the same CPU so that we

10:14

could find a set of them that were

10:15

nearly identical in performance why did

10:18

we need those we'll never

10:20

tell well we will in that video but not

10:23

here