File tree 6 files changed +0
-832
lines changed
blog/_src/posts/racket-on-chez-status-feb2020
6 files changed +0
-832
lines changed Original file line number Diff line number Diff line change 234
234
cc-superimpose cc-superimpose
235
235
12 12 )
236
236
0.6 ))
237
-
238
- (module+ main
239
- (require slideshow)
240
- (for-each (lambda (p) (slide (scale p 2 ))) (plots)))
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 450
450
r-jit-recompile)))
451
451
(* 2 scale-amt))
452
452
(ghost compile-key))))
453
-
454
- (module+ main
455
- (require slideshow/base
456
- "better.rkt " )
457
-
458
- (define (fit p)
459
- (define w (pict-width p))
460
- (define h (pict-height p))
461
- (scale p (min 1 (/ (pict-width titleless-page) w) (/ (pict-height titleless-page) h))))
462
-
463
- (define (benchmark-slides)
464
- (slide
465
- #:title (title/better "Traditional Scheme Benchmarks " #:shorter-better? #t )
466
- #:name "Traditional Scheme Benchmarks "
467
- #:layout 'tall
468
- (fit
469
- (traditional-benchmarks #:t t #:tt tt #:gap-size gap-size)))
470
-
471
- (slide
472
- #:title "Shootout Benchmarks "
473
- #:layout 'tall
474
- (fit
475
- (shootout-benchmarks #:t t #:tt tt #:gap-size gap-size))))
476
-
477
- (benchmark-slides))
Original file line number Diff line number Diff line change 38
38
39
39
(include "bm-x.rktl " )
40
40
41
- (module+ slide
42
- (require "bm.rkt " )
43
- (provide october-benchmark-slides)
44
-
45
- (define traditional-cs (get-times log-cs-txt))
46
- (define traditional-r/cs (get-times log-rcs-txt))
47
- (define traditional-r (get-times log-r-txt))
48
- (define shootout-r/cs (get-times sho-rcs-txt))
49
- (define shootout-r (get-times sho-r-txt))
50
-
51
- (define (october-benchmark-slides)
52
- (benchmark-slides #:traditional-cs traditional-cs
53
- #:traditional-r/cs traditional-r/cs
54
- #:traditional-r traditional-r
55
- #:shootout-r/cs shootout-r/cs
56
- #:shootout-r shootout-r
57
- #:racket-cs-label "Racket on Chez Scheme " )))
58
- (module+ main
59
- (slide
60
- (vl-append
61
- (* 2 gap-size)
62
- (traditional-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size
63
- #:width 500
64
- #:label (t "Traditional Scheme benchmarks " )
65
- #:alt-cs? #f )
66
- (shootout-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size
67
- #:width 500
68
- #:label (t "Shootout Racket benchmarks " )))))
69
41
(module+ pict
70
42
(provide traditional-benchmarks-table*
71
43
shootout-benchmarks-table*
Original file line number Diff line number Diff line change 303
303
800 600 )
304
304
0.25 )))
305
305
306
- (module+ main
307
- (require slideshow
308
- (submod ".. " pict))
309
- (slide (scale all-paper-benchmarks 2 ))
310
- (slide
311
- (scale (traditional-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size #:mean? #f ) 0.5 ))
312
- (slide
313
- (scale (shootout-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size #:mean? #f ) 0.5 ))
314
- (slide
315
- (scale (traditional-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size
316
- #:width 500
317
- #:label (t "Scheme benchmarks, geometric mean " ))
318
- 0.5 )
319
- (scale (traditional-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size #:keep? r5rs?
320
- #:width 500
321
- #:label (t "Mutable-pair benchmarks, geometric mean " ))
322
- 0.5 )
323
- (scale (shootout-benchmarks #:t t #:bt bt #:tt tt #:gap-size gap-size
324
- #:width 500
325
- #:label (t "Shootout benchmarks, geometric mean " ))
326
- 0.5 )))
You can’t perform that action at this time.
0 commit comments