[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/lazyprogrammer/node/master/benchmark/plot.R [Back]  [Original]

#!/usr/bin/env Rscript

# To use this script you'll need to install R: http://www.r-project.org/
# and a library for R called ggplot2 
# Which can be done by starting R and typing install.packages("ggplot2")
# like this:
#
#     shell% R
#     R version 2.11.0 beta (2010-04-12 r51689)
#     >  install.packages("ggplot2")
#     (follow prompt) 
#
# Then you can try this script by providing a full path to .data file
# outputed from 'make bench'
#
#     > cd ~/src/node
#     > make bench
#     ...
#     > ./benchmark/plot.R .benchmark_reports/ab-hello-world-buffer-1024/ff456b38862de3fd0118c6ac6b3f46edb1fbb87f/20101013162056.data
#     
# This will generate a PNG file which you can view
#
#
# Hopefully these steps will be automated in the future.


library(ggplot2)

args 

Web Proxy Viewer  |  New URL  |  Original Page