jquery-selector-set trigger

JavaScript performance comparison

Revision 8 of this test case created by Timmy Willison

Info

https://github.com/josh/jquery-selector-set

Preparation code

<div class="container">
      <div class="repository-with-sidebar repo-container">
        <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container="">
<p title="This is a placeholder element" class="js-history-link-replace hidden"></p>

<a href="/rails/rails/find/master" data-pjax="" data-hotkey="t" class="js-show-file-finder" style="display:none">Show File Finder</a>
  <div class="commit file-history-tease">
    <img class="main-avatar" height="24" src="https://0.gravatar.com/avatar/0525b332aafb83307b32d9747a93de03?d=https%3A%2F%2Fidenticons.github.com%2F2c7b84fa30f0cea96a90729afe2970a0.png&amp;r=x&amp;s=140" width="24">
    <span class="author"><a href="/rafaelfranca" rel="author">rafaelfranca</a></span>
    <time class="js-relative-date" datetime="2013-12-04T18:28:57-08:00" title="2013-12-04 18:28:57">16 days ago</time>

    <div class="participation">
      <p class="quickstat"><a href="#blob_contributors_box" rel="facebox"><strong>67</strong> contributors</a></p>
          <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=spastorino" original-title="spastorino"><img height="20" src="https://0.gravatar.com/avatar/d04d064616ae7fd752fdcb8daa5abdd6?d=https%3A%2F%2Fidenticons.github.com%2F960fc72b306e2c9879dbeaa4f765dad2.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=jeremy" original-title="jeremy"><img height="20" src="https://1.gravatar.com/avatar/24d2f8804e6bb4b7ea6bd11e0a586470?d=https%3A%2F%2Fidenticons.github.com%2F84d9ee44e457ddef7f2c4f25dc8fa865.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=tenderlove" original-title="tenderlove"><img height="20" src="https://2.gravatar.com/avatar/f29327647a9cff5c69618bae420792ea?d=https%3A%2F%2Fidenticons.github.com%2F7c78335a8924215ea5c22fda1aac7b75.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=josevalim" original-title="josevalim"><img height="20" src="https://0.gravatar.com/avatar/e837f6b7fd146ab16ed3d663476c063e?d=https%3A%2F%2Fidenticons.github.com%2Fe20b21ae6508f22fc189c60a0880d0b8.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=rafaelfranca" original-title="rafaelfranca"><img height="20" src="https://0.gravatar.com/avatar/0525b332aafb83307b32d9747a93de03?d=https%3A%2F%2Fidenticons.github.com%2F2c7b84fa30f0cea96a90729afe2970a0.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=arunagw" original-title="arunagw"><img height="20" src="https://0.gravatar.com/avatar/ee85853909657f47c8a68e8a9bc7d992?d=https%3A%2F%2Fidenticons.github.com%2F6df182582740607da754e4515b70e32d.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=fxn" original-title="fxn"><img height="20" src="https://2.gravatar.com/avatar/7223c62b7310e164eb79c740188abbda?d=https%3A%2F%2Fidenticons.github.com%2F4a11654ad1e1e48352252859ff3032a0.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=guilleiguaran" original-title="guilleiguaran"><img height="20" src="https://1.gravatar.com/avatar/73d57855a3bfe5c534596197a895ab6e?d=https%3A%2F%2Fidenticons.github.com%2Ffa159acecc4c559601c9a2fc35c75213.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=carlosantoniodasilva" original-title="carlosantoniodasilva"><img height="20" src="https://2.gravatar.com/avatar/77237b97a465ae5a293ad323b7296837?d=https%3A%2F%2Fidenticons.github.com%2F60b997fd68261ce70cadaf6c8226c042.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=josh" original-title="josh"><img height="20" src="https://0.gravatar.com/avatar/bbe5dc8dcf248706525ab76f46185520?d=https%3A%2F%2Fidenticons.github.com%2F3988c7f88ebcb58c6ce932b957b6f332.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=dhh" original-title="dhh"><img height="20" src="https://2.gravatar.com/avatar/ed9635566b34ade32274f510f0f9a6d2?d=https%3A%2F%2Fidenticons.github.com%2Fcdcb2f5c7b071143529ef7f2705dfbc4.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=jonleighton" original-title="jonleighton"><img height="20" src="https://2.gravatar.com/avatar/2940bc7d4506f3e099e3dcc32a412b98?d=https%3A%2F%2Fidenticons.github.com%2F798cebccb32617ad94123450fd137104.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=drogus" original-title="drogus"><img height="20" src="https://0.gravatar.com/avatar/582034b63279abeaa8e76acf12f5ee30?d=https%3A%2F%2Fidenticons.github.com%2F3202111cf90e7c816a472aaceb72b0df.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=brianmario" original-title="brianmario"><img height="20" src="https://0.gravatar.com/avatar/c9f60c0cb1d941fa8e93bbfcb907c27e?d=https%3A%2F%2Fidenticons.github.com%2F20aeb8a8621709e3ac91e891e7c62f8f.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=yahonda" original-title="yahonda"><img height="20" src="https://0.gravatar.com/avatar/e2cb998e15d8e8fdef4f11a1f510fe74?d=https%3A%2F%2Fidenticons.github.com%2F3367b557da3cd3ce928461613980a77c.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=razielgn" original-title="razielgn"><img height="20" src="https://2.gravatar.com/avatar/f8990e1991980f60be9ab371a214a21d?d=https%3A%2F%2Fidenticons.github.com%2F754d4f6ffc6d68670cd24ba3eda27e63.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=senny" original-title="senny"><img height="20" src="https://2.gravatar.com/avatar/3d698e2872c07061a455d9e250861235?d=https%3A%2F%2Fidenticons.github.com%2Fd1359f9934ee5a75ed441ffce412a0a1.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=wycats" original-title="wycats"><img height="20" src="https://2.gravatar.com/avatar/428167a3ec72235ba971162924492609?d=https%3A%2F%2Fidenticons.github.com%2Fa87ff679a2f3e71d9181a67b7542122c.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=vijaydev" original-title="vijaydev"><img height="20" src="https://2.gravatar.com/avatar/91160e88d86db6328f3e81313ae500c6?d=https%3A%2F%2Fidenticons.github.com%2Ff3e3ac334dea11f7cc8a25c6b7500d80.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=route" original-title="route"><img height="20" src="https://0.gravatar.com/avatar/b97b92886055641a956499b3cbb473e6?d=https%3A%2F%2Fidenticons.github.com%2F827409f89f79e159a268b9c277f362d9.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=nicksieger" original-title="nicksieger"><img height="20" src="https://0.gravatar.com/avatar/526d60de6472502bb570a9df2842b33b?d=https%3A%2F%2Fidenticons.github.com%2F1d7f7abc18fcb43975065399b0d1e48e.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=dasch" original-title="dasch"><img height="20" src="https://1.gravatar.com/avatar/a9cc05e6a7866e5fa9a7d107b5070174?d=https%3A%2F%2Fidenticons.github.com%2Fc6862d63b17d713ee14f3a405d9fde77.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=sferik" original-title="sferik"><img height="20" src="https://2.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https%3A%2F%2Fidenticons.github.com%2F9efb1a59d7b58e69996cf0e32cb71098.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=sikachu" original-title="sikachu"><img height="20" src="https://0.gravatar.com/avatar/f1c4a3bb1606cc4a61711e61e2fe6146?d=https%3A%2F%2Fidenticons.github.com%2F4a4526b1ec301744aba9526d78fcb2a6.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=zenspider" original-title="zenspider"><img height="20" src="https://0.gravatar.com/avatar/16c4b19d8670085a428787f8b2438223?d=https%3A%2F%2Fidenticons.github.com%2Fd08726019e4a2a15cb1d49092e4d0522.png&amp;r=x&amp;s=140" width="20"></a>
    <a class="avatar tooltipped downwards" href="/rails/rails/commits/master/Gemfile?author=lest" original-title="lest"><img height="20" src="https://2.gravatar.com/avatar/18efee6ee5a12946d983169eff2540f2?d=https%3A%2F%2Fidenticons.github.com%2F4b7dc121caf2baf0963a047346fc8df6.png&amp;r=x&amp;s=140" width="20"></a>

      <a href="#blob_contributors_box" rel="facebox" class="others-text">and others.</a>

    </div>
    <div id="blob_contributors_box" style="display:none">
      <h2 class="facebox-header">Users who have contributed to this file</h2>
      <ul class="facebox-user-list">
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/d04d064616ae7fd752fdcb8daa5abdd6?d=https%3A%2F%2Fidenticons.github.com%2F960fc72b306e2c9879dbeaa4f765dad2.png&amp;r=x&amp;s=140" width="24">
            <a href="/spastorino">spastorino</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/24d2f8804e6bb4b7ea6bd11e0a586470?d=https%3A%2F%2Fidenticons.github.com%2F84d9ee44e457ddef7f2c4f25dc8fa865.png&amp;r=x&amp;s=140" width="24">
            <a href="/jeremy">jeremy</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/f29327647a9cff5c69618bae420792ea?d=https%3A%2F%2Fidenticons.github.com%2F7c78335a8924215ea5c22fda1aac7b75.png&amp;r=x&amp;s=140" width="24">
            <a href="/tenderlove">tenderlove</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/e837f6b7fd146ab16ed3d663476c063e?d=https%3A%2F%2Fidenticons.github.com%2Fe20b21ae6508f22fc189c60a0880d0b8.png&amp;r=x&amp;s=140" width="24">
            <a href="/josevalim">josevalim</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/0525b332aafb83307b32d9747a93de03?d=https%3A%2F%2Fidenticons.github.com%2F2c7b84fa30f0cea96a90729afe2970a0.png&amp;r=x&amp;s=140" width="24">
            <a href="/rafaelfranca">rafaelfranca</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/ee85853909657f47c8a68e8a9bc7d992?d=https%3A%2F%2Fidenticons.github.com%2F6df182582740607da754e4515b70e32d.png&amp;r=x&amp;s=140" width="24">
            <a href="/arunagw">arunagw</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/7223c62b7310e164eb79c740188abbda?d=https%3A%2F%2Fidenticons.github.com%2F4a11654ad1e1e48352252859ff3032a0.png&amp;r=x&amp;s=140" width="24">
            <a href="/fxn">fxn</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/73d57855a3bfe5c534596197a895ab6e?d=https%3A%2F%2Fidenticons.github.com%2Ffa159acecc4c559601c9a2fc35c75213.png&amp;r=x&amp;s=140" width="24">
            <a href="/guilleiguaran">guilleiguaran</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/77237b97a465ae5a293ad323b7296837?d=https%3A%2F%2Fidenticons.github.com%2F60b997fd68261ce70cadaf6c8226c042.png&amp;r=x&amp;s=140" width="24">
            <a href="/carlosantoniodasilva">carlosantoniodasilva</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/bbe5dc8dcf248706525ab76f46185520?d=https%3A%2F%2Fidenticons.github.com%2F3988c7f88ebcb58c6ce932b957b6f332.png&amp;r=x&amp;s=140" width="24">
            <a href="/josh">josh</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/ed9635566b34ade32274f510f0f9a6d2?d=https%3A%2F%2Fidenticons.github.com%2Fcdcb2f5c7b071143529ef7f2705dfbc4.png&amp;r=x&amp;s=140" width="24">
            <a href="/dhh">dhh</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/2940bc7d4506f3e099e3dcc32a412b98?d=https%3A%2F%2Fidenticons.github.com%2F798cebccb32617ad94123450fd137104.png&amp;r=x&amp;s=140" width="24">
            <a href="/jonleighton">jonleighton</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/582034b63279abeaa8e76acf12f5ee30?d=https%3A%2F%2Fidenticons.github.com%2F3202111cf90e7c816a472aaceb72b0df.png&amp;r=x&amp;s=140" width="24">
            <a href="/drogus">drogus</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/c9f60c0cb1d941fa8e93bbfcb907c27e?d=https%3A%2F%2Fidenticons.github.com%2F20aeb8a8621709e3ac91e891e7c62f8f.png&amp;r=x&amp;s=140" width="24">
            <a href="/brianmario">brianmario</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/e2cb998e15d8e8fdef4f11a1f510fe74?d=https%3A%2F%2Fidenticons.github.com%2F3367b557da3cd3ce928461613980a77c.png&amp;r=x&amp;s=140" width="24">
            <a href="/yahonda">yahonda</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/f8990e1991980f60be9ab371a214a21d?d=https%3A%2F%2Fidenticons.github.com%2F754d4f6ffc6d68670cd24ba3eda27e63.png&amp;r=x&amp;s=140" width="24">
            <a href="/razielgn">razielgn</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/3d698e2872c07061a455d9e250861235?d=https%3A%2F%2Fidenticons.github.com%2Fd1359f9934ee5a75ed441ffce412a0a1.png&amp;r=x&amp;s=140" width="24">
            <a href="/senny">senny</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/428167a3ec72235ba971162924492609?d=https%3A%2F%2Fidenticons.github.com%2Fa87ff679a2f3e71d9181a67b7542122c.png&amp;r=x&amp;s=140" width="24">
            <a href="/wycats">wycats</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/91160e88d86db6328f3e81313ae500c6?d=https%3A%2F%2Fidenticons.github.com%2Ff3e3ac334dea11f7cc8a25c6b7500d80.png&amp;r=x&amp;s=140" width="24">
            <a href="/vijaydev">vijaydev</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/b97b92886055641a956499b3cbb473e6?d=https%3A%2F%2Fidenticons.github.com%2F827409f89f79e159a268b9c277f362d9.png&amp;r=x&amp;s=140" width="24">
            <a href="/route">route</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/526d60de6472502bb570a9df2842b33b?d=https%3A%2F%2Fidenticons.github.com%2F1d7f7abc18fcb43975065399b0d1e48e.png&amp;r=x&amp;s=140" width="24">
            <a href="/nicksieger">nicksieger</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/a9cc05e6a7866e5fa9a7d107b5070174?d=https%3A%2F%2Fidenticons.github.com%2Fc6862d63b17d713ee14f3a405d9fde77.png&amp;r=x&amp;s=140" width="24">
            <a href="/dasch">dasch</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/1f74b13f1e5c6c69cb5d7fbaabb1e2cb?d=https%3A%2F%2Fidenticons.github.com%2F9efb1a59d7b58e69996cf0e32cb71098.png&amp;r=x&amp;s=140" width="24">
            <a href="/sferik">sferik</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/f1c4a3bb1606cc4a61711e61e2fe6146?d=https%3A%2F%2Fidenticons.github.com%2F4a4526b1ec301744aba9526d78fcb2a6.png&amp;r=x&amp;s=140" width="24">
            <a href="/sikachu">sikachu</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/16c4b19d8670085a428787f8b2438223?d=https%3A%2F%2Fidenticons.github.com%2Fd08726019e4a2a15cb1d49092e4d0522.png&amp;r=x&amp;s=140" width="24">
            <a href="/zenspider">zenspider</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/18efee6ee5a12946d983169eff2540f2?d=https%3A%2F%2Fidenticons.github.com%2F4b7dc121caf2baf0963a047346fc8df6.png&amp;r=x&amp;s=140" width="24">
            <a href="/lest">lest</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/caa2df9372ffa0a9e95b2bab1e8fea34?d=https%3A%2F%2Fidenticons.github.com%2F12e8db288ce0fddd12e6ecf41b3225f3.png&amp;r=x&amp;s=140" width="24">
            <a href="/kares">kares</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/2c41115521424eb593d93c44b92ced0c?d=https%3A%2F%2Fidenticons.github.com%2F938bdab79dcec59d0d8ee78cec55f470.png&amp;r=x&amp;s=140" width="24">
            <a href="/kassio">kassio</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/0cd9079e8f5b64c6e9b6a3ad2ade0a5e?d=https%3A%2F%2Fidenticons.github.com%2Faf707e4639c05d338a28b7e5321a865d.png&amp;r=x&amp;s=140" width="24">
            <a href="/frodsan">frodsan</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/634c7a5c6e7c5e50b431632c7d3b2d92?d=https%3A%2F%2Fidenticons.github.com%2F8df6a65941e4c9da40a4fb899de65c55.png&amp;r=x&amp;s=140" width="24">
            <a href="/rsim">rsim</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/76a777ff80f30bd3b390e275cce625bc?d=https%3A%2F%2Fidenticons.github.com%2F76cac4685e3749728f9c04bd3a86221f.png&amp;r=x&amp;s=140" width="24">
            <a href="/amatsuda">amatsuda</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/21b21efe14359ec323f9a70464b91e39?d=https%3A%2F%2Fidenticons.github.com%2F818cdcf067c824a4e34f9293de3b15a9.png&amp;r=x&amp;s=140" width="24">
            <a href="/joshk">joshk</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/b5d361c5cdfa815082d54022bc45ece2?d=https%3A%2F%2Fidenticons.github.com%2Ffcb8b89a8fe52f197237a55c36141c09.png&amp;r=x&amp;s=140" width="24">
            <a href="/simi">simi</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/349d851184514340f1757f3a71b6807a?d=https%3A%2F%2Fidenticons.github.com%2Fa7e1d7d3049ac5512f00c12e92dae760.png&amp;r=x&amp;s=140" width="24">
            <a href="/luke-gru">luke-gru</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/a434c7b2837e1d09bc1a32b17e3ca2a6?d=https%3A%2F%2Fidenticons.github.com%2Feed8e050ce12d3dbcc028de6aced91b7.png&amp;r=x&amp;s=140" width="24">
            <a href="/zhengjia">zhengjia</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/ae73078ae3e573111012b14d38b8d3b2?d=https%3A%2F%2Fidenticons.github.com%2F1f2a8c81ff1733f33e0f86359a96094c.png&amp;r=x&amp;s=140" width="24">
            <a href="/j-manu">j-manu</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/8853f712852b03ba6646b59b1723f44d?d=https%3A%2F%2Fidenticons.github.com%2F8fdd149fcaa7058caccc9c4ad5b0d89a.png&amp;r=x&amp;s=140" width="24">
            <a href="/janx">janx</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/8058c2c00149cbe4104ddc9fa814443f?d=https%3A%2F%2Fidenticons.github.com%2Ffa398c999891bb8a356e980ebcc6dd0c.png&amp;r=x&amp;s=140" width="24">
            <a href="/leereilly">leereilly</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/e7f9d52790d6ef7dd61956c65b8117e6?d=https%3A%2F%2Fidenticons.github.com%2Ffb0650ff38f84d526883336ff5119dc0.png&amp;r=x&amp;s=140" width="24">
            <a href="/oscardelben">oscardelben</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/efb7c66871043330ce1310a9bdd0aaf6?d=https%3A%2F%2Fidenticons.github.com%2Fdde66d304fd8ae12981d9b5b290dd3bd.png&amp;r=x&amp;s=140" width="24">
            <a href="/hone">hone</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/c32dc2a8677cb6330dc9a2931543c0a8?d=https%3A%2F%2Fidenticons.github.com%2Fb30bccbc41e4cef5a641a34f50fd2d54.png&amp;r=x&amp;s=140" width="24">
            <a href="/vatrai">vatrai</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/22bb3e56828870ee9a0dd93aeadbe04a?d=https%3A%2F%2Fidenticons.github.com%2F8b407b57d02a2e41c7ba54441391d9ce.png&amp;r=x&amp;s=140" width="24">
            <a href="/chancancode">chancancode</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/6bea4182cd4dca98f1bc2f525283c27a?d=https%3A%2F%2Fidenticons.github.com%2Ff6ba561745f4270fad76db4799b9db8d.png&amp;r=x&amp;s=140" width="24">
            <a href="/gbchaosmaster">gbchaosmaster</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/c203190318ed9534390c93d1744a6cf1?d=https%3A%2F%2Fidenticons.github.com%2F68e4593563e1b425a7717504bca103d6.png&amp;r=x&amp;s=140" width="24">
            <a href="/thedarkone">thedarkone</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/928311f39133b2682b31d6661571c651?d=https%3A%2F%2Fidenticons.github.com%2Fbe5c3a9ff5ef8e50d94bd0a8aec281e3.png&amp;r=x&amp;s=140" width="24">
            <a href="/sherwu">sherwu</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/139de3f8c3d6ee008cdb3abd3da23908?d=https%3A%2F%2Fidenticons.github.com%2F80177fe965b78111f4dfee80cfdc3689.png&amp;r=x&amp;s=140" width="24">
            <a href="/dlee">dlee</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/8a02ad471a111f6e50b38def6b687072?d=https%3A%2F%2Fidenticons.github.com%2F93127392c7c9f47f163db122e444629c.png&amp;r=x&amp;s=140" width="24">
            <a href="/tjschuck">tjschuck</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/9d659a36c0ffc29defdeee9f3034b800?d=https%3A%2F%2Fidenticons.github.com%2F2ff9dc13024f20c0d3cf1f9474c5a03f.png&amp;r=x&amp;s=140" width="24">
            <a href="/mitijain123">mitijain123</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/a05834e9b5954947eb0ba3b570c47d5e?d=https%3A%2F%2Fidenticons.github.com%2F54229abfcfa5649e7003b83dd4755294.png&amp;r=x&amp;s=140" width="24">
            <a href="/lifo">lifo</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/1b0973b64704738dbc8ce24d8382bb1f?d=https%3A%2F%2Fidenticons.github.com%2F10a7864f54092aa82b4a41d2f0ec370c.png&amp;r=x&amp;s=140" width="24">
            <a href="/prathamesh-sonpatki">prathamesh-sonpatki</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/cb0b42e452cd13d469565a23a8abe441?d=https%3A%2F%2Fidenticons.github.com%2F58861ae4fb7b472c95e64685229ad9ed.png&amp;r=x&amp;s=140" width="24">
            <a href="/gaurish">gaurish</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://0.gravatar.com/avatar/de13f4603191ddf3d587863c179d702b?d=https%3A%2F%2Fidenticons.github.com%2Fd8a7031d63e3762cfac9ac452816f6fe.png&amp;r=x&amp;s=140" width="24">
            <a href="/priit">priit</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/a791c3c4dc4e9a328164ddde924e7cd5?d=https%3A%2F%2Fidenticons.github.com%2F3f9a42c52641cc687953a8c41f20b95a.png&amp;r=x&amp;s=140" width="24">
            <a href="/bvogel">bvogel</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/1644b4d748356fe448fd398e2973a7ca?d=https%3A%2F%2Fidenticons.github.com%2F907ee68e550f498a93ec82d228135c00.png&amp;r=x&amp;s=140" width="24">
            <a href="/rohit">rohit</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/2ad20e87f55ce79b113a12c516ec9d09?d=https%3A%2F%2Fidenticons.github.com%2Ff7664060cc52bc6f3d620bcedc94a4b6.png&amp;r=x&amp;s=140" width="24">
            <a href="/anildigital">anildigital</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/b14001f2b40640dd6cb63f0e8f1f4869?d=https%3A%2F%2Fidenticons.github.com%2F7cb36e23529e4de4c41460940cc85e6e.png&amp;r=x&amp;s=140" width="24">
            <a href="/pixeltrix">pixeltrix</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/d52cc558a29696bb722492259f3f52de?d=https%3A%2F%2Fidenticons.github.com%2F992b8175dd647e8e187e7cc2e0572623.png&amp;r=x&amp;s=140" width="24">
            <a href="/gazay">gazay</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://1.gravatar.com/avatar/91913f6ab8085bab0f2aa43995ba8ca2?d=https%3A%2F%2Fidenticons.github.com%2F926d19e70f74c20f796d376aafa3c6e2.png&amp;r=x&amp;s=140" width="24">
            <a href="/bogdan">bogdan</a>
          </li>
          <li class="facebox-user-list-item">
            <img height="24" src="https://2.gravatar.com/avatar/666badca71c452ae51c999971419b506?d=https%3A%2F%2Fidenticons.github.com%2Fdca5672ff3444c7e997aa9a2c4eb2094.png&amp;r=x&amp;s=140" width="24">
            <a href="/jkutner">jkutner</a>
          </li>
      </ul>
    </div>
  </div>

<div id="files" class="bubble">
  <div class="file">
    <div class="meta">
      <div class="info">
        <span class="icon"><b class="octicon octicon-file-text"></b></span>
        <span class="mode" title="File Mode">file</span>
          <span>94 lines (75 sloc)</span>
        <span>2.257 kb</span>
      </div>
      <div class="actions">
        <div class="button-group">
            <a class="minibutton tooltipped leftwards js-conduit-openfile-check" href="github-mac://openRepo/https://github.com/rails/rails?branch=master&amp;filepath=Gemfile" data-url="github-mac://openRepo/https://github.com/rails/rails?branch=master&amp;filepath=Gemfile" data-failed-title="Your version of GitHub for Mac is too old to open this file. Try checking for updates." original-title="Open this file in GitHub for Mac">
                <span class="octicon octicon-device-desktop"></span> Open
            </a>
              <a class="minibutton disabled tooltipped leftwards" href="#" original-title="You must be signed in to make or propose changes">Edit</a>
          <a href="/rails/rails/raw/master/Gemfile" class="button minibutton " id="raw-url">Raw</a>
            <a href="/rails/rails/blame/master/Gemfile" class="button minibutton ">Blame</a>
          <a href="/rails/rails/commits/master/Gemfile" class="button minibutton " rel="nofollow">History</a>
        </div><!-- /.button-group -->
          <a class="minibutton danger disabled empty-icon tooltipped leftwards" href="#" original-title="You must be signed in and on a branch to make or propose changes">
          Delete
        </a>
      </div><!-- /.actions -->

    </div>
        <div class="blob-wrapper data type-ruby js-blob-data">
        <table class="file-code file-diff">
          <tbody><tr class="file-code-line">
            <td class="blob-line-nums">
              <span id="L1" rel="#L1">1</span>
<span id="L2" rel="#L2">2</span>
<span id="L3" rel="#L3">3</span>
<span id="L4" rel="#L4">4</span>
<span id="L5" rel="#L5">5</span>
<span id="L6" rel="#L6">6</span>
<span id="L7" rel="#L7">7</span>
<span id="L8" rel="#L8">8</span>
<span id="L9" rel="#L9">9</span>
<span id="L10" rel="#L10">10</span>
<span id="L11" rel="#L11">11</span>
<span id="L12" rel="#L12">12</span>
<span id="L13" rel="#L13">13</span>
<span id="L14" rel="#L14">14</span>
<span id="L15" rel="#L15">15</span>
<span id="L16" rel="#L16">16</span>
<span id="L17" rel="#L17">17</span>
<span id="L18" rel="#L18">18</span>
<span id="L19" rel="#L19">19</span>
<span id="L20" rel="#L20">20</span>
<span id="L21" rel="#L21">21</span>
<span id="L22" rel="#L22">22</span>
<span id="L23" rel="#L23">23</span>
<span id="L24" rel="#L24">24</span>
<span id="L25" rel="#L25">25</span>
<span id="L26" rel="#L26">26</span>
<span id="L27" rel="#L27">27</span>
<span id="L28" rel="#L28">28</span>
<span id="L29" rel="#L29">29</span>
<span id="L30" rel="#L30">30</span>
<span id="L31" rel="#L31">31</span>
<span id="L32" rel="#L32">32</span>
<span id="L33" rel="#L33">33</span>
<span id="L34" rel="#L34">34</span>
<span id="L35" rel="#L35">35</span>
<span id="L36" rel="#L36">36</span>
<span id="L37" rel="#L37">37</span>
<span id="L38" rel="#L38">38</span>
<span id="L39" rel="#L39">39</span>
<span id="L40" rel="#L40">40</span>
<span id="L41" rel="#L41">41</span>
<span id="L42" rel="#L42">42</span>
<span id="L43" rel="#L43">43</span>
<span id="L44" rel="#L44">44</span>
<span id="L45" rel="#L45">45</span>
<span id="L46" rel="#L46">46</span>
<span id="L47" rel="#L47">47</span>
<span id="L48" rel="#L48">48</span>
<span id="L49" rel="#L49">49</span>
<span id="L50" rel="#L50">50</span>
<span id="L51" rel="#L51">51</span>
<span id="L52" rel="#L52">52</span>
<span id="L53" rel="#L53">53</span>
<span id="L54" rel="#L54">54</span>
<span id="L55" rel="#L55">55</span>
<span id="L56" rel="#L56">56</span>
<span id="L57" rel="#L57">57</span>
<span id="L58" rel="#L58">58</span>
<span id="L59" rel="#L59">59</span>
<span id="L60" rel="#L60">60</span>
<span id="L61" rel="#L61">61</span>
<span id="L62" rel="#L62">62</span>
<span id="L63" rel="#L63">63</span>
<span id="L64" rel="#L64">64</span>
<span id="L65" rel="#L65">65</span>
<span id="L66" rel="#L66">66</span>
<span id="L67" rel="#L67">67</span>
<span id="L68" rel="#L68">68</span>
<span id="L69" rel="#L69">69</span>
<span id="L70" rel="#L70">70</span>
<span id="L71" rel="#L71">71</span>
<span id="L72" rel="#L72">72</span>
<span id="L73" rel="#L73">73</span>
<span id="L74" rel="#L74">74</span>
<span id="L75" rel="#L75">75</span>
<span id="L76" rel="#L76">76</span>
<span id="L77" rel="#L77">77</span>
<span id="L78" rel="#L78">78</span>
<span id="L79" rel="#L79">79</span>
<span id="L80" rel="#L80">80</span>
<span id="L81" rel="#L81">81</span>
<span id="L82" rel="#L82">82</span>
<span id="L83" rel="#L83">83</span>
<span id="L84" rel="#L84">84</span>
<span id="L85" rel="#L85">85</span>
<span id="L86" rel="#L86">86</span>
<span id="L87" rel="#L87">87</span>
<span id="L88" rel="#L88">88</span>
<span id="L89" rel="#L89">89</span>
<span id="L90" rel="#L90">90</span>
<span id="L91" rel="#L91">91</span>
<span id="L92" rel="#L92">92</span>
<span id="L93" rel="#L93">93</span>

            </td>
            <td class="blob-line-code">
                    <div class="highlight"><pre><div class="line" id="LC1"><span class="n">source</span> <span class="s1">'https://rubygems.org'</span></div><div class="line" id="LC2"><br></div><div class="line" id="LC3"><span class="n">gemspec</span></div><div class="line" id="LC4"><br></div><div class="line" id="LC5"><span class="c1"># This needs to be with require false as it is</span></div><div class="line" id="LC6"><span class="c1"># loaded after loading the test library to</span></div><div class="line" id="LC7"><span class="c1"># ensure correct loading order</span></div><div class="line" id="LC8"><span class="n">gem</span> <span class="s1">'mocha'</span><span class="p">,</span> <span class="s1">'~&gt; 0.14'</span><span class="p">,</span> <span class="nb" id="test-target">require</span><span class="p">:</span> <span class="kp">false</span></div><div class="line" id="LC9"><br></div><div class="line" id="LC10"><span class="n">gem</span> <span class="s1">'rack-cache'</span><span class="p">,</span> <span class="s1">'~&gt; 1.2'</span></div><div class="line" id="LC11"><span class="n">gem</span> <span class="s1">'bcrypt-ruby'</span><span class="p">,</span> <span class="s1">'~&gt; 3.1.2'</span></div><div class="line" id="LC12"><span class="n">gem</span> <span class="s1">'jquery-rails'</span><span class="p">,</span> <span class="s1">'~&gt; 2.2.0'</span></div><div class="line" id="LC13"><span class="n">gem</span> <span class="s1">'turbolinks'</span></div><div class="line" id="LC14"><span class="n">gem</span> <span class="s1">'coffee-rails'</span><span class="p">,</span> <span class="s1">'~&gt; 4.0.0'</span></div><div class="line" id="LC15"><br></div><div class="line" id="LC16"><span class="c1"># This needs to be with require false to avoid</span></div><div class="line" id="LC17"><span class="c1"># it being automatically loaded by sprockets</span></div><div class="line" id="LC18"><span class="n">gem</span> <span class="s1">'uglifier'</span><span class="p">,</span> <span class="s1">'&gt;= 1.3.0'</span><span class="p">,</span> <span class="nb">require</span><span class="p">:</span> <span class="kp">false</span></div><div class="line" id="LC19"><br></div><div class="line" id="LC20"><span class="n">group</span> <span class="ss">:doc</span> <span class="k">do</span></div><div class="line" id="LC21">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'sdoc'</span></div><div class="line" id="LC22">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'redcarpet'</span><span class="p">,</span> <span class="s1">'~&gt; 2.2.2'</span><span class="p">,</span> <span class="ss">platforms</span><span class="p">:</span> <span class="ss">:ruby</span></div><div class="line" id="LC23">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'w3c_validators'</span></div><div class="line" id="LC24">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'kindlerb'</span></div><div class="line" id="LC25"><span class="k">end</span></div><div class="line" id="LC26"><br></div><div class="line" id="LC27"><span class="c1"># AS</span></div><div class="line" id="LC28"><span class="n">gem</span> <span class="s1">'dalli'</span><span class="p">,</span> <span class="s1">'&gt;= 2.2.1'</span></div><div class="line" id="LC29"><br></div><div class="line" id="LC30"><span class="c1"># Add your own local bundler stuff</span></div><div class="line" id="LC31"><span class="n">local_gemfile</span> <span class="o">=</span> <span class="no">File</span><span class="o">.</span><span class="n">dirname</span><span class="p">(</span><span class="bp">__FILE__</span><span class="p">)</span> <span class="o">+</span> <span class="s2">"/.Gemfile"</span></div><div class="line" id="LC32"><span class="nb">instance_eval</span> <span class="no">File</span><span class="o">.</span><span class="n">read</span> <span class="n">local_gemfile</span> <span class="k">if</span> <span class="no">File</span><span class="o">.</span><span class="n">exist?</span> <span class="n">local_gemfile</span></div><div class="line" id="LC33"><br></div><div class="line" id="LC34"><span class="n">group</span> <span class="ss">:test</span> <span class="k">do</span></div><div class="line" id="LC35">&nbsp;&nbsp;<span class="n">platforms</span> <span class="ss">:mri_19</span> <span class="k">do</span></div><div class="line" id="LC36">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'ruby-prof'</span><span class="p">,</span> <span class="s1">'~&gt; 0.11.2'</span></div><div class="line" id="LC37">&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC38"><br></div><div class="line" id="LC39">&nbsp;&nbsp;<span class="n">platforms</span> <span class="ss">:mri_19</span><span class="p">,</span> <span class="ss">:mri_20</span> <span class="k">do</span></div><div class="line" id="LC40">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'debugger'</span></div><div class="line" id="LC41">&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC42"><br></div><div class="line" id="LC43">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'benchmark-ips'</span></div><div class="line" id="LC44"><span class="k">end</span></div><div class="line" id="LC45"><br></div><div class="line" id="LC46"><span class="n">platforms</span> <span class="ss">:ruby</span> <span class="k">do</span></div><div class="line" id="LC47">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'nokogiri'</span><span class="p">,</span> <span class="s1">'&gt;= 1.4.5'</span></div><div class="line" id="LC48"><br></div><div class="line" id="LC49">&nbsp;&nbsp;<span class="c1"># Needed for compiling the ActionDispatch::Journey parser</span></div><div class="line" id="LC50">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'racc'</span><span class="p">,</span> <span class="s1">'&gt;=1.4.6'</span><span class="p">,</span> <span class="nb">require</span><span class="p">:</span> <span class="kp">false</span></div><div class="line" id="LC51"><br></div><div class="line" id="LC52">&nbsp;&nbsp;<span class="c1"># AR</span></div><div class="line" id="LC53">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'sqlite3'</span><span class="p">,</span> <span class="s1">'~&gt; 1.3.6'</span></div><div class="line" id="LC54"><br></div><div class="line" id="LC55">&nbsp;&nbsp;<span class="n">group</span> <span class="ss">:db</span> <span class="k">do</span></div><div class="line" id="LC56">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'pg'</span><span class="p">,</span> <span class="s1">'&gt;= 0.11.0'</span></div><div class="line" id="LC57">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'mysql'</span><span class="p">,</span> <span class="s1">'&gt;= 2.9.0'</span></div><div class="line" id="LC58">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'mysql2'</span><span class="p">,</span> <span class="s1">'&gt;= 0.3.13'</span></div><div class="line" id="LC59">&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC60"><span class="k">end</span></div><div class="line" id="LC61"><br></div><div class="line" id="LC62"><span class="n">platforms</span> <span class="ss">:jruby</span> <span class="k">do</span></div><div class="line" id="LC63">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'json'</span></div><div class="line" id="LC64">&nbsp;&nbsp;<span class="k">if</span> <span class="no">ENV</span><span class="o">[</span><span class="s1">'AR_JDBC'</span><span class="o">]</span></div><div class="line" id="LC65">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcsqlite3-adapter'</span><span class="p">,</span> <span class="ss">github</span><span class="p">:</span> <span class="s1">'jruby/activerecord-jdbc-adapter'</span><span class="p">,</span> <span class="ss">branch</span><span class="p">:</span> <span class="s1">'master'</span></div><div class="line" id="LC66">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">group</span> <span class="ss">:db</span> <span class="k">do</span></div><div class="line" id="LC67">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcmysql-adapter'</span><span class="p">,</span> <span class="ss">github</span><span class="p">:</span> <span class="s1">'jruby/activerecord-jdbc-adapter'</span><span class="p">,</span> <span class="ss">branch</span><span class="p">:</span> <span class="s1">'master'</span></div><div class="line" id="LC68">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcpostgresql-adapter'</span><span class="p">,</span> <span class="ss">github</span><span class="p">:</span> <span class="s1">'jruby/activerecord-jdbc-adapter'</span><span class="p">,</span> <span class="ss">branch</span><span class="p">:</span> <span class="s1">'master'</span></div><div class="line" id="LC69">&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC70">&nbsp;&nbsp;<span class="k">else</span></div><div class="line" id="LC71">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcsqlite3-adapter'</span><span class="p">,</span> <span class="s1">'&gt;= 1.3.0'</span></div><div class="line" id="LC72">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">group</span> <span class="ss">:db</span> <span class="k">do</span></div><div class="line" id="LC73">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcmysql-adapter'</span><span class="p">,</span> <span class="s1">'&gt;= 1.3.0'</span></div><div class="line" id="LC74">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-jdbcpostgresql-adapter'</span><span class="p">,</span> <span class="s1">'&gt;= 1.3.0'</span></div><div class="line" id="LC75">&nbsp;&nbsp;&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC76">&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC77"><span class="k">end</span></div><div class="line" id="LC78"><br></div><div class="line" id="LC79"><span class="n">platforms</span> <span class="ss">:rbx</span> <span class="k">do</span></div><div class="line" id="LC80">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'psych'</span><span class="p">,</span> <span class="s1">'~&gt; 2.0'</span></div><div class="line" id="LC81">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'rubysl'</span><span class="p">,</span> <span class="s1">'~&gt; 2.0'</span></div><div class="line" id="LC82"><span class="k">end</span></div><div class="line" id="LC83"><br></div><div class="line" id="LC84"><span class="c1"># gems that are necessary for ActiveRecord tests with Oracle database</span></div><div class="line" id="LC85"><span class="k">if</span> <span class="no">ENV</span><span class="o">[</span><span class="s1">'ORACLE_ENHANCED'</span><span class="o">]</span></div><div class="line" id="LC86">&nbsp;&nbsp;<span class="n">platforms</span> <span class="ss">:ruby</span> <span class="k">do</span></div><div class="line" id="LC87">&nbsp;&nbsp;&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'ruby-oci8'</span><span class="p">,</span> <span class="s1">'&gt;= 2.0.4'</span></div><div class="line" id="LC88">&nbsp;&nbsp;<span class="k">end</span></div><div class="line" id="LC89">&nbsp;&nbsp;<span class="n">gem</span> <span class="s1">'activerecord-oracle_enhanced-adapter'</span><span class="p">,</span> <span class="ss">github</span><span class="p">:</span> <span class="s1">'rsim/oracle-enhanced'</span><span class="p">,</span> <span class="ss">branch</span><span class="p">:</span> <span class="s1">'master'</span></div><div class="line" id="LC90"><span class="k">end</span></div><div class="line" id="LC91"><br></div><div class="line" id="LC92"><span class="c1"># A gem necessary for ActiveRecord tests with IBM DB</span></div><div class="line" id="LC93"><span class="n">gem</span> <span class="s1">'ibm_db'</span> <span class="k">if</span> <span class="no">ENV</span><span class="o">[</span><span class="s1">'IBM_DB'</span><span class="o">]</span></div></pre></div>
            </td>
          </tr>
        </tbody></table>
  </div>

  </div>
</div>

<a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" class="js-jump-to-line" style="display:none">Jump to Line</a>
<div id="jump-to-line" style="display:none">
  <form accept-charset="UTF-8" class="js-jump-to-line-form">
    <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" autofocus="">
    <button type="submit" class="button">Go</button>
  </form>
</div>

</div>

</div><!-- /.repo-container -->
</div>



<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
window.jQueryOldUnpatched = jQuery.noConflict();
</script>

<script src="https://dl.dropboxusercontent.com/u/6407061/jQuery/destination/jquery.min.js"></script>
<script>
window.jQueryCompiled = jQuery.noConflict();
</script>

<script src="https://code.jquery.com/jquery-latest.js"></script>
<script>
window.jQueryUnpatched = jQuery.noConflict();
</script>

<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="https://rawgithub.com/josh/selector-set/master/selector-set.js"></script>
<script src="https://rawgithub.com/josh/jquery-selector-set/master/jquery.selector-set.js"></script>
<script>
window.jQueryPatched = jQuery.noConflict();
</script>

<script>
// github.com js event selectors - 2013-12-20
var selectors = [".js-team-search-name",".js-new-team-name",".js-new-team-name",".js-toggle-all-teams",".js-show-more-members",".js-cleanup-pull-request",".js-cleanup-pull-request","#js-pull-merging",".js-merge-pull-request",".js-merge-pull-request",".js-restore-head-ref",".js-restore-head-ref",".js-restore-head-ref",".js-pull-request-tab",".js-inline-comment-form",".js-pull-request-tabs",".js-pull-request-tabs",".js-pull-request-stale-files",".js-pulse-period",".js-create-branch",".js-create-tag",".js-releases-field a.remove",".js-releases-field a.undo",".js-timeline-tags-expander",".js-save-draft",".js-publish-release",".js-release-tag-field","#repository_name","#repository_name","#repository_name",".js-ignore-container",".js-repo-home-link, .js-repository-container-pjax a","#js-repo-pjax-container",".js-repo-nav",".js-directory-link",".js-octicon-loaders a",".repository-tree",".js-repository-name",".js-repository-name",".js-hook-target",".js-test-hook",".js-add-postreceive-url",".js-remove-postreceive-url",".js-action-ldap-create",".js-action-ldap-create",".js-action-pull",".js-action-pull",".js-stars-search",".js-styleguide-octicon-facebox",".js-auto-subscribe-toggle",".js-auto-subscribe-toggle",".js-auto-subscribe-toggle",".js-unignore-form, .js-ignore-form",".js-unignore-form, .js-ignore-form",".js-unignore-form",".js-ignore-form",".js-unsubscribe-form, .js-subscribe-form",".js-unsubscribe-form, .js-subscribe-form",".js-unsubscribe-form",".js-subscribe-form",".js-thread-subscription-status",".remove-team",".js-tree-finder-field",".js-tree-finder-field",".js-show-file-finder","#js-repo-pjax-container",".js-resend-auth-code",".js-send-fallback-auth-code",".js-send-two-factor-code","button.js-2fa-enable",".js-set-two-factor-fallback",".js-add-yubicat",".js-yubicat-box",".js-yubicat-box",".js-delete-yubicat",".js-add-yubicat",".js-toggle-recovery",".js-restore-user",".js-restore-user",".js-user-sessions-revoke",".js-toggle-lang-stats",".js-dark-ship-traffic-graphs",".js-notification-global-toggle",".js-notifications-settings input[type=checkbox]",".js-remove-item",".js-remove-item",".js-remove-item",".js-toggle-visibility",".js-remove-key",".js-remove-key",".js-remove-key",".js-leave-collaborated-repo",".js-name-change-in-progress",".js-unsubscribe-from-newsletter form",".js-show-new-ssh-key-form",".js-update-note-form",".js-api-token-input",".js-edit-token-note",".js-remove-user-api-token",".js-delete-oauth-application-image",".section-head",".js-user-rename-warning-continue","#signup_form",".js-plan-choice:checked",".js-plan-row.selected",".js-plan-row.free-plan.selected",".js-setup-organization:checked",".js-approve-ssh-key",".js-reject-ssh-key","#post_broadcast","#post_title","#post_title","#post_teaser","#post_teaser","#early-draft-notice","#js-select-hunt-hound-type","[id]",".js-lineprof-file","link[rel=xhr-socket]","link[rel=xhr-socket]","link[rel=xhr-socket]","link[rel=xhr-socket]",".js-socket-channel",".js-staff-remove-collab",".js-staff-remove-watch","#js-staff-add-email",".js-staff-delete-email","#js-staff-add-owner",".sttng-radio input[type=radio]",".js-staff-impersonate-toggle","#apply-coupon",".js-sttng-coupons li",".js-response-time",".js-performance-pane-toggle",".js-performance-pane-details-toggle",".js-diff-mode",".js-quick-issue-form",".js-quick-issue-body",".js-report",".js-restore-repository",".js-restore-repository",".js-stats-toggle",".js-toggle-more-stats","table.admin-users tr","table.admin-users input.select-all",".js-triage .js-navigation-item",".js-toggle-entry-details",".js-ability-expander",".js-ability-global-expander",".js-ability-sort"];

for (i = 0; i < selectors.length; i++) {
  jQueryOldUnpatched(document).on("test", selectors[i], function() {});
  jQueryUnpatched(document).on("test", selectors[i], function() {});
  jQueryCompiled(document).on("test", selectors[i], function() {});
  jQueryPatched(document).on("test", selectors[i], function() {});
}

var unpatchedTarget = jQueryUnpatched("#test-target")
var compiledTarget = jQueryCompiled("#test-target")
var oldUnpatchedTarget = jQueryOldUnpatched("#test-target")
var patchedTarget = jQueryPatched("#test-target")
</script>

Preparation code output

file 94 lines (75 sloc) 2.257 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
source 'https://rubygems.org'

gemspec

# This needs to be with require false as it is
# loaded after loading the test library to
# ensure correct loading order
gem 'mocha', '~> 0.14', require: false

gem 'rack-cache', '~> 1.2'
gem 'bcrypt-ruby', '~> 3.1.2'
gem 'jquery-rails', '~> 2.2.0'
gem 'turbolinks'
gem 'coffee-rails', '~> 4.0.0'

# This needs to be with require false to avoid
# it being automatically loaded by sprockets
gem 'uglifier', '>= 1.3.0', require: false

group :doc do
  gem 'sdoc'
  gem 'redcarpet', '~> 2.2.2', platforms: :ruby
  gem 'w3c_validators'
  gem 'kindlerb'
end

# AS
gem 'dalli', '>= 2.2.1'

# Add your own local bundler stuff
local_gemfile = File.dirname(__FILE__) + "/.Gemfile"
instance_eval File.read local_gemfile if File.exist? local_gemfile

group :test do
  platforms :mri_19 do
    gem 'ruby-prof', '~> 0.11.2'
  end

  platforms :mri_19, :mri_20 do
    gem 'debugger'
  end

  gem 'benchmark-ips'
end

platforms :ruby do
  gem 'nokogiri', '>= 1.4.5'

  # Needed for compiling the ActionDispatch::Journey parser
  gem 'racc', '>=1.4.6', require: false

  # AR
  gem 'sqlite3', '~> 1.3.6'

  group :db do
    gem 'pg', '>= 0.11.0'
    gem 'mysql', '>= 2.9.0'
    gem 'mysql2', '>= 0.3.13'
  end
end

platforms :jruby do
  gem 'json'
  if ENV['AR_JDBC']
    gem 'activerecord-jdbcsqlite3-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
    group :db do
      gem 'activerecord-jdbcmysql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
      gem 'activerecord-jdbcpostgresql-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'master'
    end
  else
    gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
    group :db do
      gem 'activerecord-jdbcmysql-adapter', '>= 1.3.0'
      gem 'activerecord-jdbcpostgresql-adapter', '>= 1.3.0'
    end
  end
end

platforms :rbx do
  gem 'psych', '~> 2.0'
  gem 'rubysl', '~> 2.0'
end

# gems that are necessary for ActiveRecord tests with Oracle database
if ENV['ORACLE_ENHANCED']
  platforms :ruby do
    gem 'ruby-oci8', '>= 2.0.4'
  end
  gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
end

# A gem necessary for ActiveRecord tests with IBM DB
gem 'ibm_db' if ENV['IBM_DB']

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
jQuery latest
unpatchedTarget.trigger("test")
pending…
jQuery with SelectorSet patch
patchedTarget.trigger("test")
pending…
jQuery 1.7.2
oldUnpatchedTarget.trigger("test")
pending…
jQuery precompiled
compiledTarget.trigger("test")
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

1 comment

Timmy Willison (revision owner) commented :

The test results in browserscope are invalid for this revision (8). The jQuery that at one point was my patched version has actually been latest jQuery for a while now.

Add a comment