Skip to content

Instantly share code, notes, and snippets.

@randyzwitch
Created January 19, 2016 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randyzwitch/ee0f738b5895e059fa2a to your computer and use it in GitHub Desktop.
Save randyzwitch/ee0f738b5895e059fa2a to your computer and use it in GitHub Desktop.
GNU Parallel Benchmark
using Vega
x = 1:1:60
y = [
1304.964,
701.117,
473.303,
391.253,
371.978,
307.872,
303.418,
259.178,
249.653,
233.797,
222.969,
220.886,
223.34,
207.559,
232.308,
221.911,
206.54,
213.942,
207.867,
190.877,
182.036,
192.572,
206.578,
189.286,
194.401,
203.384,
210.049,
198.004,
226.276,
203.434,
212.843,
219.118,
203.405,
211.549,
200.647,
232.607,
206.571,
206.798,
216.022,
207.278,
206.914,
201.995,
214.288,
200.884,
202.341,
185.73,
187.341,
191.507,
198.25,
204.698,
196.467,
196.271,
191.073,
195.392,
194.869,
205.017,
200.079,
197.29,
197.427,
197.866]
a = lineplot(x = x, y = y, points = true)
a.width, a.height = 600, 300
ylab!(a, title = "Run Time (seconds)")
xlab!(a, title = "Number of Jobs (-j)")
title!(a, title = "GNU Parallel - Concatenating 1MM Small Text Files")
colorscheme!(a, palette = "rgb( 31,120,180)")
a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment