谷歌浏览器的V8引擎真的那么好吗?

发布于 2024-07-04 20:34:00 字数 1453 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(13

哆兒滾 2024-07-11 20:34:05

是的,我已经看到了基准测试,V8 客观上确实看起来更快,但至于

它将极大地改变网络编程

我个人认为目前的瓶颈不在于javascript,而在于带宽

Yes I have seen the bench marks and V8 does appear to be objectively faster but as for

it'll change web programming a lot

I personally do not think the bottleneck is currently in javascript, but rather in bandwidth

dawn曙光 2024-07-11 20:34:05

我使用以下链接将其与 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 毫秒。

I've compared it to Firefox and Internet Explorer using this link: http://celtickane.com/2009/07/javascript-speed-test-2009-browsers/ (was http://celtickane.com/webdesign/jsspeed.php)

The difference is impressive.

212ms in Chrome, 341ms in Firefox 3, and 2188ms for Internet Explorer 7.

江挽川 2024-07-11 20:34:04

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

I am finding it visibly much faster on Vista x64 than IE8 and FF3.

递刀给你 2024-07-11 20:34:04

我在 FF3 和 Chrome 上运行了上述 sunspider javascript 基准测试,从 FF3Chrome(在 Vista 64 系统上 - Core 2 duo 6600 2.4GHz、2GB RAM)。

上面的链接向您展示了我的结果 - 我非常有兴趣了解底层操作系统带来的差异(如果有的话)。

话虽这么说,我同意 Google 的观点,即 Javascript 变得越来越重要,其他浏览器制造商应该花一些时间来优化它。

我喜欢能够拖放选项卡 - 这是我两年多以来一直需要的东西......-

Adam

I ran the aformentioned sunspider javascript benchmark on FF3 and Chrome and got over a 2x speed increase moving from FF3 to Chrome (on a Vista 64 system - Core 2 duo 6600 2.4GHz, 2GB RAM).

The links above show you my results - I'm very interested to see what, if any, difference the underlying OS makes.

That being said, I agree with Google that Javascript is becoming more and more important, and that the other browser makers should spend some time on optimizing it.

I love being able to drag and drop tabs - that's something I've needed for over 2 years now...

-Adam

何时共饮酒 2024-07-11 20:34:04

这绝对是很快的。 Gmail、Google Reader 和 Yahoo 邮件均会立即加载。 对于 FF 或 Opera 来说不能这么说。

It's definitely fast. Gmail, Google Reader and Yahoo mail all load instantly. Can't say that for FF or Opera.

陌路终见情 2024-07-11 20:34:04

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

It's two times faster than Firefox 3 on my Windows XP box. FWIW, the updates in Fx3.1 are supposed to make it an order of magnitude faster.

前事休说 2024-07-11 20:34:03

一般来说,浏览器的速度非常快,尤其是 Javascript 非常快。

编辑:基准测试显示 Chrome 的平均速度比 FF3 快 1.73 倍,平均比 IE 7 快 14.8 倍。字符串操作是 IE 7 的弱点,据我所知,它已得到很大改进在 IE 8 中。

The browser is incredibly fast in general, and Javascript is very fast in particular.

Edit: The benchmark showed Chrome to be 1.73x faster on average than FF3, and 14.8x faster on average than IE 7. String manipulation is IE 7's weak point, which I'm told has been improved greatly in IE 8.

五里雾 2024-07-11 20:34:03

是的,V8 在 Vista x86 上速度极快——对于我尝试过的大多数基准测试来说,速度最高可达 IE 7 的 50 倍。 更令人印象深刻的是,在 Chrome 下运行的 GMail 的内存占用是在 IE 7 下运行的 GMail 的四分之一。这可能在很大程度上要归功于 V8。

Yes, V8 is extremely fast on Vista x86 -- up to 50 times as fast as IE 7 for most benchmarks I tried. More impressively, GMail running under Chrome had one-quarter the memory footprint of GMail running under IE 7. This can probably be attributed in large part to V8.

零度° 2024-07-11 20:34:03

速度确实很快。 显然是这样。 与 Firefox 3 相比,它的性能给我留下了深刻的印象。我已经将其设为我的默认浏览器。

It's really speedy. Visibly so. I was pretty impressed with its performance compared with Firefox 3. Already made it my default browser.

伪心 2024-07-11 20:34:02

在微软期间:

消耗的 RAM 是 Firefox 的两倍
并使 CPU 饱和接近 6 个
执行线程数的倍数,
微软最新的测试版
Internet Explorer 8 事实上更多
对 PC 的要求高于 Windows XP
本身,研究公司魔鬼山
性能测试中发现的软件。
据该公司称,该公司运营
基于社区的测试网络,IE8
Beta 2 消耗了 380MB 的 RAM,
期间产生了 171 个并发线程
流行的多选项卡浏览测试
网络目的地

Slashdot

我想如何@rjrapson 得出了这个结论。 每个 博客 post 我明白了,calims 它更快。

While in 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

I imagine how @rjrapson came with that conclusion. Every blog post I see, calims it's faster.

小女人ら 2024-07-11 20:34:02

最初速度似乎显着提高。 一件有趣的事情是,它不断锁定 Google READer 选项卡,今天早上至少出现了 5 次悲伤的表情……

The speed initially seemed substantially improved. One interesting thing is that it keeps locking up the Google REader tab, it's gotten the sad-face at least 5 times over this morning...

虚拟世界 2024-07-11 20:34:01

也许有点轶事,但比较 Firefox 和 Chrome 之间的运行结果显示基准测试存在显着差异。

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

自己尝试一下。

Perhaps a bit anecdotal but comparing runs between Firefox and Chrome showed a significant difference in benchmarks.

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

Try for yourself.

呆橘 2024-07-11 20:34:01

我在 SunSpider JavaScript Benchmark< 上比较了 Mozilla Firefox 3.0.1 和 Google Chrome 0.2.149.27 /a> 的结果如下:

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

以及 V8 Benchmark Suite 的结果如下(分数越高越好):

  • Firefox - 分数:212
  • Chrome - 分数:1842< /strong>

Web 浏览器 Javascript 基准 上的结果如下:

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

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

到目前为止我读过的所有博客文章和文章还声称 V8 显然是最快的 JavaScript 引擎。 例如,请参阅 - V8、TraceMonkey、SquirrelFish、IE8 基准测试

“...不用说,Chrome 的 V8 击败了下一代 JavaScript VM 的所有当前版本。需要明确的是,WebKit 和 FireFox 引擎甚至还没有达到测试版,但看起来性能V8 团队刚刚将酒吧设置为天文高度。”

I have compared Mozilla Firefox 3.0.1 and Google Chrome 0.2.149.27 on SunSpider JavaScript Benchmark with the following results:

  • Firefox - total: 2900.0ms +/- 1.8%
  • Chrome - total: 1549.2ms +/- 1.7%

and on V8 Benchmark Suite with the following results (higher score is better):

  • Firefox - score: 212
  • Chrome - score: 1842

and on Web Browser Javascript Benchmark with the following results:

  • Firefox - total duration: 362 ms
  • Chrome - total duration: 349 ms

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

All blog posts and articles that I've read so far also claim that V8 is clearly the fastest JavaScript engine out there. See for example - 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."

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文