Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby JavaScript CoffeeScript
Pull request Compare This branch is 5 commits ahead, 7 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

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)
Something went wrong with that request. Please try again.