Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

タグ

javascriptとdataに関するkzms2のブックマーク (2)

  • Touch/pointer events test results

    Some of the more interesting data points from running my various touch/pointer tests on a variety of devices/browsers. All tests carried out manually, trying to get the cleanest possible results (e.g. getting a “clean” tap without any finger movement). Most testing carried out against this simple event listener test. Some of these results first appeared in my presentation Getting touchy - an intro

    kzms2
    kzms2 2014/07/11
    各種OS(タップデバイス含む)のJSの発火イベントの順番を実際に調べた結果。スゴイのぅ。
  • Javascript - style vs. className

    I did each test 5 times, and then used the index values for judging the relative speed of the various methods. The "Fastest" methods have index 100 by definition. I added a rough index number for the slower method. Of course these index numbers are based on the browsers running on my computers, so you'll likely get slightly different values when you run the tests yourself. For comparison's sake, h

    kzms2
    kzms2 2011/10/25
    大抵の主要ブラウザではclass書き換えのほうが、style書き換えよりも早いらしい。汎用性もあるしclass書き換えの方が良さそうですね。
  • 1