JavaScripts in Chrome browser are executed with multi-thread parallely
in a multicore system?
For examples, www.nytimes.com has about 30 JavaScripts.
Your answer means, although we have a multicore environment, the above
30 JavaScripts do not need to be executed in parallel (because of no
performance gain) due to the JavaScript's single-threadness?
or You mean, we cannot execute the 30 JavaScript in parallel because
we have difficulty in synchronization for shared data?
Thank you again.
On 11월2일, 오후12시07분, Peter Kasting <pkast...@chromium.org> wrote:
> On Mon, Nov 1, 2010 at 7:48 PM, jjyoo <jeongjoon....@gmail.com> wrote:
> > JavaScripts in Chrome browser are executed with multi-thread parallely
> > in a multicore system?
>
> Script runs in the renderer process. There are generally multiple renderer
> processes when there are multiple tabs, so in this case, multiple pieces of
> script are run in parallel.
>
> Script is not run multithreaded because the web execution environment
> generally assumes single-threadedness and not complying with this would
> break the web.
>
> PK
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev