Chrome标签和流程 [英] Chrome tabs and processes

查看:71
本文介绍了Chrome标签和流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读chrome上的googlebook,他们谈论为什么每次创建新标签页时,他们决定启动一个进程来托管浏览器标签页." 所以

I was reading googlebooks on chrome, where they talk about why they decided to spin up a process to host browser tab, every time you created a new tab.' So

2个标签= 2个镀铬工艺

2 tabs = 2 chrome processes

3个标签= 3个镀铬工艺,依此类推..对吗?

3 tabs = 3 chrome processes and so on .. right??

但是我打开了大约20个选项卡,但是在任务管理器中,我只能找到3个chrome进程.

But i opened up some 20 or so tabs, but in task manager, i could only find 3 chrome processes..

发生了什么事?

我被告知,就所需资源而言,创建流程是一项昂贵的提议,并且还有其他轻量级选项(例如.net中的应用程序域,例如ex.). 铬会采取某种混合方法吗?创建几个进程,然后开始在这些有限的进程集中托管其他选项卡?

I was taught that creating a process is an expensive proposition in terms of resources needed, and there are other light weight options available (like app domains in .net for ex).. So is chrome taking some hybrid approach?? Create few processes and then start hosting additional tabs inside those limited set of processes??

推荐答案

它在第一个进程中托管.打开铬.您将看到2个流程(经理"和初始"标签).然后再打开10个标签,您会注意到第二个进程的内存跳跃很多.然后在第一个标签中输入google.com或其他内容,就会产生一个新的过程.

it's being hosted in the first process. open up chrome. you'll see 2 processes (manager and initial tab). then open 10 more tabs, you'll notice the second process's memory jump a lot. then type in google.com or something into the first tab, and you'll see a new process get spawned.

还请注意,如果您执行shift + esc键并在Chrome浏览器中放大了任务管理器,则所有这些选项卡都将组合在一起,其中一个带有内存,其他选项卡则没有.

also notice, if you do shift+esc and brink up the task manager in chrome, all those tabs will be grouped together, one w/ memory, the others without.

这篇关于Chrome标签和流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆