パスワードを忘れた? アカウント作成
11529752 journal
日記

miyuriの日記: SIMD 2

日記 by miyuri

Mozilla Firefox, Portable Edition Nightly 34.0 Alpha 1 Pre
X64, Windows
http://portableapps.com/apps/internet/firefox_portable/test#nightly

https://github.com/johnmccutchan/ecmascript_simd

"Running benchmarks." run_browser.js:14
"Test: Iterations( 849479292), SIMD( 999ms), Non-SIMD( 1038ms), Speedup(1.039)" run_browser.js:2
"AOBench: Iterations( 4253), SIMD( 954ms), Non-SIMD( 72ms), Speedup(0.075)" run_browser.js:2
"Matrix4x4Inverse: Iterations( 40395), SIMD( 1049ms), Non-SIMD( 11ms), Speedup(0.010)" run_browser.js:2
"Mandelbrot: Iterations( 3339), SIMD( 412ms), Non-SIMD( 7ms), Speedup(0.017)" run_browser.js:2
"MatrixMultiplication: Iterations( 81432), SIMD( 998ms), Non-SIMD( 4ms), Speedup(0.004)" run_browser.js:2
"ShiftRows: Iterations( 516846), SIMD( 986ms), Non-SIMD( 35ms), Speedup(0.035)" run_browser.js:2
"VertexTransform: Iterations( 178865), SIMD( 992ms), Non-SIMD( 4ms), Speedup(0.004)" run_browser.js:2
"Transpose4x4: Iterations( 66738), SIMD( 309ms), Non-SIMD( 1ms), Speedup(0.003)" run_browser.js:2
"Benchmarks completed." run_browser.js:18

    ∧∧       
    ヽ(・ω・)/   ズコー  
   \(.\ ノ
、ハ,,、  ̄

//append: 2014-08-29 19:30
適当にプログラムを書いて測ってみると、やっぱりSIMDだと遅い。
SIMD.float32x4.mul とかを呼ぶ度に、インスタンスを作っていたりするのだろうか。

この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
  • by chi (11062) on 2014年08月29日 15時06分 (#2666205) 日記

    64bit環境でIEとChromeで実施してみましたが、同じような結果でした。
    このScriptはちゃんとSIMD使えてるのかな?
    それとも全ブラウザでダメ?

    Chrome 37.0.2062.102(64-bit)
    IE 11.0.9600.17239(64-bit)
    Waterfox 31.0(64-bit)

typodupeerror

物事のやり方は一つではない -- Perlな人

読み込み中...