Google Chrome的V8引擎真的那么好吗?

时间:2020-03-05 18:46:50  来源:igfitidea点击:

有人有时间看看吗?

我读了一些书,它承诺很多,如果只是他们所说的一半,它将大大改变网络编程

解决方案

回答

真的很快。显然是这样。与Firefox 3相比,它的性能给我留下了深刻的印象。它已经成为我的默认浏览器。

回答

也许有些轶事,但是比较Firefox和Chrome的运行情况,发现基准测试存在显着差异。

http://www2.webkit.org/perf/sunspider-0.9/sunspider.html

自己尝试。

回答

通常,浏览器的速度非常快,特别是Javascript。

编辑:基准测试表明,Chrome的平均速度比FF3快1.73倍,比IE 7快14.8倍。字符串操作是IE 7的弱点,我听说在IE 8中它得到了很大的改进。

回答

是的,在我尝试的大多数基准测试中,V8在Vista x86上的速度都非常快-高达IE 7的50倍。更令人印象深刻的是,在Chrome下运行的GMail的内存占用是在IE 7下运行的GMail的四分之一。这可能在很大程度上归功于V8.

回答

我发现它在Vista x64上明显比IE8和FF3快得多。

回答

它比我的Windows XP机器上的Firefox 3快两倍。 FWIW,Fx3.1中的更新应该使它快一个数量级。

回答

我已使用以下链接将其与Firefox和Internet Explorer进行了比较:http://celtickane.com/2009/07/javascript-speed-test-2009-browsers/(以前是http://celtickane.com/webdesign/jsspeed。 php)

差异令人印象深刻。

在Chrome中为212毫秒,在Firefox 3中为341毫秒,对于Internet Explorer 7为2188毫秒。

回答

最初的速度似乎已大大提高。一件有趣的事是,它一直锁定着Google REader标签,今天早上至少有5次悲伤的表情...

回答

我在FF3和Chrome上运行了上述sunspider javascript基准测试,从FF3到Chrome(在Vista 64系统Core 2 duo 6600 2.4GHz,2GB RAM上)的速度提高了2倍。

上面的链接向我们展示了我的结果,我非常想知道底层操作系统有什么不同(如果有的话)。

话虽如此,我同意Google的看法,Java变得越来越重要,其他浏览器制造商应该花一些时间对其进行优化。

我喜欢能够拖放标签,这是我两年多以来一直需要的东西...

-亚当

回答

绝对快。 Gmail,Google Reader和Yahoo邮件都会立即加载。 FF或者Opera不能这么说。

回答

在Microsoft中时:

Consuming twice as much RAM as Firefox
  and saturating the CPU with nearly six
  times as many execution threads,
  Microsoft's latest beta release of
  Internet Explorer 8 is in fact more
  demanding on your PC than Windows XP
  itself, research firm Devil Mountain
  Software found in performance tests.
  According to the firm, which operates
  a community-based testing network, IE8
  Beta 2 consumed 380MB of RAM and
  spawned 171 concurrent threads during
  a multi-tab browsing test of popular
  Web destinations

Slashdot

我想象@rjrapson是怎么得出这个结论的。我看到的每个博客帖子都证明它的速度更快。

回答

我将SunSpider JavaScript Benchmark上的Mozilla Firefox 3.0.1和Google Chrome 0.2.149.27与以下结果进行了比较:

  • Firefox-总计:2900.0ms +/- 1.8%
  • 铬-总计:1549.2ms +/- 1.7%

并在V8 Benchmark Suite上获得以下结果(分数越高越好):

  • Firefox-得分:212
  • Chrome-得分:1842

并在Web浏览器Javascript Benchmark上显示以下结果:

  • Firefox-总持续时间:362毫秒
  • Chrome-总持续时间:349毫秒

机器:Windows XP SP2,Intel Core2 DUO T7500 @ 2.2 Ghz,2 GB RAM

到目前为止,我阅读的所有博客文章和文章都声称V8显然是最快的JavaScript引擎。参见例如V8,TraceMonkey,SquirrelFish,IE8 BenchMarks

"... Needless to say, Chrome’s V8 blows away all the current builds of the next-generation of JavaScript VMs. Just to be clear, WebKit and FireFox engines haven’t even hit beta, but it looks like the performance bar has just been set to an astronomical height by the V8 Team."

回答

是的,我看过基准测试,而V8确实确实更快一些,但至于

it'll change web programming a lot

我个人认为瓶颈不是当前在javascript中,而是在带宽上