Know what?

Open discussion about any topic, as long as you abide by the rules of course!
Locked
TruthfulLiar
Posts: 351
Joined: Sun Dec 11, 2005 9:05 am

Know what?

Post by TruthfulLiar »

Tabs are a moronic concept unless they are used correctly, which, I reckon, is not usually.

Tabs or windows use the same amount of memory to run, in theory, yes?
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: Know what?

Post by MKJ »

in theory, no. tabs share their resources while windows dont.
TruthfulLiar
Posts: 351
Joined: Sun Dec 11, 2005 9:05 am

Re: Know what?

Post by TruthfulLiar »

wouldn't it technically be the same amount of resources to load a tab as a window - what matters, being the content on said webpages?

i'm asking all this because that nasa video made the fan turn on.
User avatar
seremtan
Posts: 36023
Joined: Wed Nov 19, 2003 8:00 am

Re: Know what?

Post by seremtan »

on the other hand, if you stack windows from the same programme on the taskbar (win7), tabs are easier to navigate
Tsakali
Posts: 7175
Joined: Thu Mar 02, 2000 8:00 am

Re: Know what?

Post by Tsakali »

no
xer0s
Posts: 12447
Joined: Sat Feb 10, 2001 8:00 am

Re: Know what?

Post by xer0s »

I enjoy these threads...
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: Know what?

Post by MKJ »

TruthfulLiar wrote:wouldn't it technically be the same amount of resources to load a tab as a window
no, theres a lot of overhead in running in a window like menus, event listeners, size, position, et al. with tab-view, this is initialized only once no matter the amount of tabs.
Tsakali
Posts: 7175
Joined: Thu Mar 02, 2000 8:00 am

Re: Know what?

Post by Tsakali »

however, that could mean that if your system can handle it, the performance of each website could be better on separate windows, since they don't have to share resources, event handlers, etc.
Am I doing it right?
User avatar
Κracus
Posts: 5986
Joined: Tue Oct 16, 2007 12:38 am

Re: Know what?

Post by Κracus »

MKJ wrote:
TruthfulLiar wrote:wouldn't it technically be the same amount of resources to load a tab as a window
no, theres a lot of overhead in running in a window like menus, event listeners, size, position, et al. with tab-view, this is initialized only once no matter the amount of tabs.

Unless you've tested this you can't know for sure. I know most browsers load tabs as individual processes. I've never taken the time to measure the ammount of memory they consume open in tabs as opposed to a window but I wouldn't be surprised they're the same ammount.

actually I'm going to test this right now.

edit: test results.

iexplore automatically launches 2 iexplore processes even though only 1 page is visible.
When you open a 3rd tab another iexplore.exe process is launched.

1. 17,532 kb
2. 22,964 kb

3. 23,168 kb

#3 is a tab and the first 2 are just how IE runs I guess.

When I launch the 3rd tab as it's own window the memory usage is about the same but did have the highest result by a slight bit at 24,608 kb.

So you could be right, HOWEVER, I would argue that the memory used for the tab function probably adds to both scenarios skewing my results of the seperate windows which would probably be lower anyway overall.
andyman
Posts: 11198
Joined: Wed Feb 09, 2005 8:20 pm

Re: Know what?

Post by andyman »

The new commercial for ie isn't going to sell me on it
User avatar
PhoeniX
Posts: 4067
Joined: Fri Aug 04, 2000 7:00 am

Re: Know what?

Post by PhoeniX »

TruthfulLiar wrote:Tabs are a moronic concept unless they are used correctly, which, I reckon, is not usually.

Tabs or windows use the same amount of memory to run, in theory, yes?
If you use Chrome you can force it to use a single-process (bad idea as if one tab goes down you lose all your tabs) or force it to use one process per site (e.g. all Q3W tabs use a single process). Process-per-site made a huge difference on an old machine for me.

Howto: http://www.webnol.net/2011/02/how-to-ch ... processes/

oh, and shift+esc in Chrome brings up an internal task manager where you can see cpu/memory use, etc of tabs.
Tsakali
Posts: 7175
Joined: Thu Mar 02, 2000 8:00 am

Re: Know what?

Post by Tsakali »

PhoeniX wrote:
...shift+esc in Chrome brings up an internal task manager where you can...
Image
User avatar
Eraser
Posts: 19183
Joined: Fri Dec 01, 2000 8:00 am

Re: Know what?

Post by Eraser »

There's a lot of wannabe nerd fail in this thread.
TruthfulLiar
Posts: 351
Joined: Sun Dec 11, 2005 9:05 am

Re: Know what?

Post by TruthfulLiar »

lol chrome is shit
Locked