Skip to content

Instantly share code, notes, and snippets.

@southpolesteve
Created November 5, 2012 21:50
Show Gist options
  • Save southpolesteve/4020578 to your computer and use it in GitHub Desktop.
Save southpolesteve/4020578 to your computer and use it in GitHub Desktop.
Macbook Air (2011, i7) vs Raspberry Pi

Last night I finally got my raspberry pi up and running one of my current rails projects. This project is relatively simple, only 30 specs, and I wanted to see how it would stack up against my macbook air.

TL;DR: The pi is about 20 times slower running the actual tests (46s vs 2.2s), but loading the test environment is by far the slowest part. ~7 minutes.

This result makes me believe that I could use my pi as a nice little CI server for personal projects as long as the test suites are simple. This week I will be taking a look at some light weight CI servers and try running them on the pi.

See the full results below.


---------------- Raspberry Pi --------------
pi@raspberrypi:~/gitomic$ time rake

Finished in 46.25 seconds
30 examples, 0 failures

real    8m20.454s
user    7m43.070s
sys     0m13.400s


---------------- Macbook Air --------------
➜  gitomic git:(master) time rake

Finished in 2.23 seconds
30 examples, 0 failures

rake  18.39s user 1.59s system 96% cpu 20.648 total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment