Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

steveklabnik/turbolinks_test

all_the_assets
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 5 commits ahead, 7 commits behind master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
db
 
 
doc
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is a modivication of the original test with Rails 4. Also we are testing Pjax vs Turbolinks vs None

all the assets branch

This has BCX's Javascript and CSS files.

To run it:

$ bundle
$ rspec

Done.

What I get:

With 10 pages:

$ rspec
       user     system      total        real
   nothing  1.030000   0.170000   1.530000 (  5.028314)
turbolinks  0.140000   0.020000   0.160000 (  0.984095)
      pjax  0.100000   0.020000   0.120000 (  0.876211)

With 100 pages:

$ rspec
       user     system      total        real
   nothing  3.600000   0.800000   4.720000 ( 26.237932)
turbolinks  1.130000   0.120000   1.250000 ( 11.028930)
      pjax  1.020000   0.120000   1.140000 (  7.688372)

With 1000 pages:

$ rspec
       user     system      total        real
   nothing 28.410000   7.010000  35.750000 (256.809647)
turbolinks 10.970000   1.120000  12.090000 (104.501979)
      pjax 10.240000   1.250000  11.490000 ( 77.392627)