Last active
August 29, 2015 14:22
-
-
Save cjfuller/12fcad06eb9af12c9e44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket | |
(require plot) | |
(define xdata '(10 25 50 100 200)) | |
(define ydata '(5181 7346 8199 8886 8878)) | |
(parameterize ([plot-font-family 'default] | |
[plot-font-size 16] | |
[plot-width 800] | |
[plot-height 600]) | |
(plot (list | |
(function (lambda (_) 2362) 0 200 | |
#:color 'blue | |
#:style 'short-dash) | |
(lines | |
(for/list ([x (in-list xdata)] | |
[y (in-list ydata)]) | |
(vector x y)))) | |
#:x-min 0 | |
#:x-max 200 | |
#:y-min 0 | |
#:y-max 10000 | |
#:x-label "Batch size" | |
#:y-label "Objects processed / s" | |
#:out-file (expand-user-path "~/Pictures/mapreduce_batch_profiling.svg"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment