Skip to content

Instantly share code, notes, and snippets.

@radupotop
Created September 3, 2010 01:04
Show Gist options
  • Save radupotop/563233 to your computer and use it in GitHub Desktop.
Save radupotop/563233 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
"""
Plot Firefox's score in the Sunspider benchmark.
"""
from pylab import *
xlabel('Firefox version')
xticks(arange(20),
('3.0', '3.5', '3.5.6', '3.6', '3.6 w/TM', '3.7a5pre', '4.0 b1', '4.0 b4'))
ylabel('Sunspider score (ms)')
y = [2560, 2276, 2258, 1870, 966, 808, 763, 514]
title('Firefox Sunspider score (lower is better)')
grid(True)
plot(y)
show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment