Skip to content

Instantly share code, notes, and snippets.

View WalterWaldron's full-sized avatar

WalterWaldron

View GitHub Profile
@WalterWaldron
WalterWaldron / plot.R
Last active September 26, 2017 05:32 — forked from MartinNowak/plot.R
Benchmark realloc growth strategies
library(ggplot2)
library(plyr)
library(dplyr)
data <- read.csv('realloc_bench.csv')[ ,c('growth_factor', 'time_in_us')]
data$growth_factor <- factor(data$growth_factor)
p <- ggplot(data, aes(x=growth_factor, y=time_in_us, fill=growth_factor)) + geom_boxplot()
ggsave("grow_timings.png", p)