{"id":1526,"date":"2010-01-10T17:08:57","date_gmt":"2010-01-10T22:08:57","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/?p=1526"},"modified":"2010-01-10T17:08:57","modified_gmt":"2010-01-10T22:08:57","slug":"droid-vs-nexus-1-sunspider-javascript-benchmark-showdown","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/droid-vs-nexus-1-sunspider-javascript-benchmark-showdown\/","title":{"rendered":"Droid vs Nexus 1 &#8211; SunSpider JavaScript Benchmark showdown"},"content":{"rendered":"<p>Nexus One runs JavaScript 2.32 times faster than the Motorola Droid.<\/p>\n<p>The <a href=\"http:\/\/www2.webkit.org\/perf\/sunspider-0.9\/sunspider.html\">SunSpider JavaScript Benchmark<\/a> was run several times on both phones and results were consistent. <\/p>\n<p>It&#8217;d be great to compare with the iPhone 3Gs, If someone has an iPhone 3Gs, please run the test and send me the results to update this post.<\/p>\n<table width=\"100\" padding=\"2\">\n<tr>\n<td>\nMOTOROLA DROID\n<\/td>\n<td>\nNEXUS ONE\n<\/td>\n<\/tr>\n<tr>\n<td>\n<pre>\n============================================\nRESULTS (means and 95% confidence intervals)\n--------------------------------------------\n<strong>Total:                 34157.4ms<\/strong> +\/- 2.8%\n--------------------------------------------\n\n  3d:                   4277.6ms +\/- 3.3%\n    cube:               1212.4ms +\/- 9.6%\n    morph:              1680.0ms +\/- 12.5%\n    raytrace:           1385.2ms +\/- 5.2%\n\n  access:               4350.8ms +\/- 7.1%\n    binary-trees:        473.2ms +\/- 7.6%\n    fannkuch:           1959.4ms +\/- 9.7%\n    nbody:               985.2ms +\/- 9.6%\n    nsieve:              933.0ms +\/- 39.8%\n\n  bitops:               2921.4ms +\/- 3.4%\n    3bit-bits-in-byte:   545.4ms +\/- 4.1%\n    bits-in-byte:        735.6ms +\/- 16.3%\n    bitwise-and:         539.8ms +\/- 9.9%\n    nsieve-bits:        1100.6ms +\/- 3.0%\n\n  controlflow:           414.2ms +\/- 8.5%\n    recursive:           414.2ms +\/- 8.5%\n\n  crypto:               2064.4ms +\/- 4.5%\n    aes:                 859.8ms +\/- 3.4%\n    md5:                 638.8ms +\/- 4.6%\n    sha1:                565.8ms +\/- 8.1%\n\n  date:                 4434.2ms +\/- 9.0%\n    format-tofte:       1663.6ms +\/- 6.7%\n    format-xparb:       2770.6ms +\/- 12.7%\n\n  math:                 3223.6ms +\/- 3.0%\n    cordic:             1110.8ms +\/- 6.2%\n    partial-sums:       1264.0ms +\/- 3.4%\n    spectral-norm:       848.8ms +\/- 3.2%\n\n  regexp:               3980.0ms +\/- 1.3%\n    dna:                3980.0ms +\/- 1.3%\n\n  string:               8491.2ms +\/- 3.8%\n    base64:             1108.4ms +\/- 7.0%\n    fasta:              1683.4ms +\/- 1.6%\n    tagcloud:           1500.2ms +\/- 9.5%\n    unpack-code:        2456.2ms +\/- 8.7%\n    validate-input:     1743.0ms +\/- 4.5%\n<\/pre>\n<\/td>\n<td>\n<pre style=\"background-color:blue\">\n============================================\nRESULTS (means and 95% confidence intervals)\n--------------------------------------------\n<strong>Total:                 14706.8ms<\/strong> +\/- 4.8%\n--------------------------------------------\n\n  3d:                   1593.6ms +\/- 6.0%\n    cube:                474.8ms +\/- 17.2%\n    morph:               566.2ms +\/- 2.6%\n    raytrace:            552.6ms +\/- 1.0%\n\n  access:               1885.0ms +\/- 10.3%\n    binary-trees:        202.8ms +\/- 25.7%\n    fannkuch:            819.4ms +\/- 1.1%\n    nbody:               406.2ms +\/- 20.7%\n    nsieve:              456.6ms +\/- 28.1%\n\n  bitops:               1640.8ms +\/- 29.2%\n    3bit-bits-in-byte:   300.8ms +\/- 30.9%\n    bits-in-byte:        390.0ms +\/- 44.9%\n    bitwise-and:         372.0ms +\/- 55.7%\n    nsieve-bits:         578.0ms +\/- 36.8%\n\n  controlflow:           200.8ms +\/- 4.5%\n    recursive:           200.8ms +\/- 4.5%\n\n  crypto:                880.8ms +\/- 2.1%\n    aes:                 385.6ms +\/- 4.6%\n    md5:                 254.4ms +\/- 5.3%\n    sha1:                240.8ms +\/- 9.0%\n\n  date:                 1843.6ms +\/- 20.6%\n    format-tofte:        840.0ms +\/- 45.9%\n    format-xparb:       1003.6ms +\/- 1.3%\n\n  math:                 1250.8ms +\/- 1.6%\n    cordic:              464.0ms +\/- 1.1%\n    partial-sums:        450.2ms +\/- 3.0%\n    spectral-norm:       336.6ms +\/- 3.6%\n\n  regexp:               2003.4ms +\/- 15.2%\n    dna:                2003.4ms +\/- 15.2%\n\n  string:               3408.0ms +\/- 7.7%\n    base64:              387.6ms +\/- 2.4%\n    fasta:               729.8ms +\/- 3.7%\n    tagcloud:            605.8ms +\/- 4.2%\n    unpack-code:        1019.8ms +\/- 29.1%\n    validate-input:      665.0ms +\/- 1.1%\n<\/pre>\n<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Nexus One runs JavaScript 2.32 times faster than the Motorola Droid. The SunSpider JavaScript Benchmark was run several times on both phones and results were consistent. It&#8217;d be great to compare with the iPhone 3Gs, If someone has an iPhone 3Gs, please run the test and send me the results to update this post. MOTOROLA [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,30,74],"tags":[],"class_list":["post-1526","post","type-post","status-publish","format-standard","hentry","category-android","category-geeklife","category-software-development"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-oC","jetpack-related-posts":[{"id":1521,"url":"https:\/\/www.gubatron.com\/blog\/unboxing-nexus-one-spanish\/","url_meta":{"origin":1526,"position":0},"title":"Unboxing Nexus One (Spanish)","author":"gubatron","date":"January 9, 2010","format":false,"excerpt":"Unboxing and comparing the Nexus One to the Motorola Droid","rel":"","context":"In &quot;Android&quot;","block_context":{"text":"Android","link":"https:\/\/www.gubatron.com\/blog\/category\/android\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1961,"url":"https:\/\/www.gubatron.com\/blog\/nokia-n900-vs-nexus-one-vs-droid-hd-video-playback-comparison\/","url_meta":{"origin":1526,"position":1},"title":"Nokia N900 vs Nexus One vs Droid: HD Video Playback comparison","author":"gubatron","date":"May 23, 2010","format":false,"excerpt":"Grabbed the demo video that comes with the N900 to delight you and put it on the 3 phones. The screen on the Nexus One is the most impressive. The Droid has a 1\/2 sec. lag when you try to jump to another part of the video. If you don't\u2026","rel":"","context":"In &quot;Android&quot;","block_context":{"text":"Android","link":"https:\/\/www.gubatron.com\/blog\/category\/android\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1928,"url":"https:\/\/www.gubatron.com\/blog\/droid-vs-nexus-1-who-can-calculate-md5-faster\/","url_meta":{"origin":1526,"position":2},"title":"Droid vs Nexus 1: Who can calculate MD5 faster?","author":"gubatron","date":"May 21, 2010","format":false,"excerpt":"Nexus 1 indeed. 17 files get their MD5 calculated on the Droid and 17 files get their MD5 hash calculated on the Nexus 1 Nexus 1 pwns. Here's the code in case you're curious. [java] public void onClick(View v) { _logTextView.setText(\"MD5 Benchmark on \" + Build.DEVICE + \"nn\"); if (GlobalVariables.APP_CONTEXT\u2026","rel":"","context":"In &quot;Android&quot;","block_context":{"text":"Android","link":"https:\/\/www.gubatron.com\/blog\/category\/android\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1858,"url":"https:\/\/www.gubatron.com\/blog\/quick-motorola-cliq-review-att\/","url_meta":{"origin":1526,"position":3},"title":"Quick Motorola Cliq Review &#8211; AT&#038;T","author":"gubatron","date":"April 10, 2010","format":false,"excerpt":"Here is AT&T's\/Motorola Cliq downloading \"Bebbled\", a free game from the Android Marketplace. The one think I like about this phone is the keyboard, however It's very annoying that when it's closed the touchscreen side doesn't have the Search button that the Droid and the Nexus have. So, everytime you\u2026","rel":"","context":"In &quot;Geeklife&quot;","block_context":{"text":"Geeklife","link":"https:\/\/www.gubatron.com\/blog\/category\/geeklife\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":747,"url":"https:\/\/www.gubatron.com\/blog\/safari-31-benchmark-part-ii-vs-firefox-30b4\/","url_meta":{"origin":1526,"position":4},"title":"Safari 3.1 Benchmark part II &#8211; VS Firefox 3.0b4","author":"gubatron","date":"March 20, 2008","format":false,"excerpt":"This is the Part II of Benchmarks between Safari 3.1's JavaScript engine and Firefox. Last Benchmark was done against Firefox 2, and Safari destroyed Firefox's Javascript engine, in some aspects being up to 7 times faster. So I was curious and I downloaded and tried the benchmark on Firefox 3.0b4.\u2026","rel":"","context":"In &quot;AJAX&quot;","block_context":{"text":"AJAX","link":"https:\/\/www.gubatron.com\/blog\/category\/ajax\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":744,"url":"https:\/\/www.gubatron.com\/blog\/new-safaris-javascript-engine-kicks-ass\/","url_meta":{"origin":1526,"position":5},"title":"New Safari&#8217;s JavaScript engine Kicks Ass!","author":"gubatron","date":"March 19, 2008","format":false,"excerpt":"So I downloaded yesterday the latest Software Update for Mac OSX and it included an update of the Safari Web Browser, which I had taken for dead ages ago, I'm a hardcore Firefox user. Today I read about the new updates, and I read something that caught my eye at\u2026","rel":"","context":"In &quot;AJAX&quot;","block_context":{"text":"AJAX","link":"https:\/\/www.gubatron.com\/blog\/category\/ajax\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=1526"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/1526\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=1526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=1526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=1526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}