Re: Images in a Multiprocess World
Benjamin Smedberg <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 6/23/09 6:50 PM, Lucas Adamski wrote: > I have no evidence to back this up but it does seem like sharing images > across tabs is actually fairly frequent occurrence when the tabs are all > from the same site. FWIW my pattern for reading news is to open up a > new tab for each interesting story, then close them as I read each > one. Maybe I'm an anomaly in that case. Performance wise we might be > damned if we do or damned if we don't.. pageload latency and network > cost vs increased IPC overhead. We'd also be responsible for a I suspect that same-domain loads will normally be handled by the same process, even if they happen to occur in multiple tabs. But again, without measurement this seems like a premature optimization. We shouldn't incur any network cost in the common cases, assuming the HTTP cache behaves reasonably. Duplicate memory usage is more concerning... perhaps we can arrange for global control of all the caches in some manner if that shows up as a significant issue. --BDS