多么强大的移动浏览器相比,台式机? [英] How powerful are mobile browsers compared to desktops?

查看:108
本文介绍了多么强大的移动浏览器相比,台式机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划实施我建立一个应用程序的一些客户端的散列(或许加密)。使用斯坦福大学的Javascript加密库在桌面上的需要的过了一分钟的做一些计算,我要求浏览器在JavaScript中执行。

I plan on implementing some client-side hashing (and perhaps encryption) for an application I am building. Using the Stanford Javascript Crypto Library on a desktop takes over a minute to do some of the calculations I'm asking the browser to do in Javascript.

我想知道,如果这是要求从像丝绸,移动Safari和其他移动浏览器太多了。除了测试上最先进的智能手机 - 有没有什么太多对他们的一般准则?他们是桌面浏览器多么强大的比例是多少?

I'm wondering if this is asking too much from mobile browsers like Silk, Mobile Safari, and the others. Apart from testing on most modern smart-phones - is there a general guideline of what is too much for them? Any ratio of how powerful they are to desktop browsers?

推荐答案

这真的取决于你的目标市场。我最近买了一台HTC One X的安装和Mozilla Firefox浏览器,以及Chrome测试版....我已经与基于HTML画布的游戏测试,他们俩它执行得非常好。

This really depends on your target market. I've recently bought a HTC One X and installed Mozilla Firefox, and the Chrome Beta.... I've tested them both with HTML Canvas based games and it performs surprisingly well.

#1基准测试使用: http://v8.google$c$c.com/svn/data/benchmarks/v7/run.html

笔记本:戴尔XPS l502x与酷睿i72630米,6 GB RAM。浏览器:谷歌浏览器18

Score: 8574
Richards: 9362
DeltaBlue: 14903
Crypto: 15677
RayTrace: 13468
EarleyBoyer: 24823
RegExp: 2805
Splay: 4600
NavierStokes: 3096

HTC One X的采用四核1.5GHz的Tegra 3,1 GB RAM。浏览器:谷歌浏览器(手机)18

Score: 1166
Richards: 2595
DeltaBlue: 2147
Crypto: 2227
RayTrace: 1252
EarleyBoyer: 3583
RegExp: 396
Splay: 310
NavierStokes: 502

结论1。
这样就完成了高端笔记本电脑和高端移动设备之间的一般JavaScript性能差大约7到8折。

Conclusion 1. This concludes the general JavaScript performance difference between a high end laptop and high end mobile device is approximately 7 to 8 fold.

#2基准使用: http://bitwiseshiftleft.github.com/sjcl/browserTest/

笔记本:戴尔XPS l502x与酷睿i72630米,6 GB RAM。浏览器:谷歌浏览器18

Running AES official known-answer tests... passed all 4156 tests. (71 ms)
Running CCM mode tests... passed all 2000 tests. (212 ms)
Running OCB 2.0 mode tests... passed all 22 tests. (16 ms)
Running SHA-256 from catameringue... passed all 513 tests. (53 ms)
Running SHA-256 iterative... passed. (171 ms)
Running HMAC official test vectors... passed all 6 tests. (5 ms)
Running PBKDF2... passed. (38 ms)

HTC One X的采用四核1.5GHz的Tegra 3,1 GB RAM。浏览器:谷歌浏览器(手机)18

Running AES official known-answer tests...passed all 4156 tests. (219 ms)
Running CCM mode tests...passed all 2000 tests. (832 ms)
Running OCB 2.0 mode tests...passed all 22 tests. (23 ms)
Running SHA-256 from catameringue...passed all 513 tests. (191 ms)
Running SHA-256 iterative...passed. (614 ms)
Running HMAC official test vectors...passed all 6 tests. (13 ms)
Running PBKDF2...passed. (168 ms)

2结论
就这样结束使用斯坦福的JavaScript加密库大约是4〜5折高端笔记本电脑和高端移动设备之间的性能差异时。此外,在这些测试中把这个移动设备上的时间是在我看来,可以接受的等待时间。

Conclusion 2. This concludes that when using 'Stanford JavaScript Crypto Library' the performance difference between a high end laptop and high end mobile device is approximately 4 to 5 fold. Also The time in which these tests took on this mobile device are in my opinion acceptable wait times.

这篇关于多么强大的移动浏览器相比,台式机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆