Skip to content

Commit

Permalink
fix(bench): add stdev on viz (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Oct 26, 2023
1 parent 52ee21c commit 8c6b39e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/viz_bench.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,20 @@ bench <- timings %>%
arrange(thousand_lines, tool)

ggplot(bench, aes(x = thousand_lines, y = log10(mean), color = tool)) +
geom_line() +
geom_ribbon(
aes(
y = log10(mean),
ymin = log10(mean - stddev),
ymax = log10(mean + stddev),
fill = "lightgrey"
),
alpha = .2
alpha = .5,
linewidth = 0,
fill = "lightgrey",
) +
geom_line() +
xlab("Thousands of lines parsed") +
ylab("Log10 time (seconds)") +
theme_bw(base_size = 18) +
theme_bw(base_size = 22) +
coord_fixed(ratio = 10) +
facet_grid(~fmt, labeller = labeller(
fmt = c(
Expand Down

0 comments on commit 8c6b39e

Please sign in to comment.