Skip to content

Instantly share code, notes, and snippets.

@joakimk
Created September 17, 2012 18:43
Show Gist options
  • Save joakimk/3738997 to your computer and use it in GitHub Desktop.
Save joakimk/3738997 to your computer and use it in GitHub Desktop.
Single core cloud computing performance
# Very simple CPU test. Not ideal.
# Setup (where possible):
# Ubuntu 11.04
# apt-get install ruby # 1.8.7
# ci:jocke $ ruby -v
# ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
ruby -e 't=Time.now;100000000.times { 22%5 };puts Time.now-t'
# Cloud:
Glesys XEN: 19.4
Glesys OpenVZ: 19.4
AWS, c1.medium: 25.9
# Other:
Our CI server (i7-3930K CPU @ 3.20GHz): 11.4
MacBook Air (Late 2010): 26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment