;;; read.bm --- Exercise the reader. -*- Scheme -*-
;;;
-;;; Copyright (C) 2008 Free Software Foundation, Inc.
+;;; Copyright (C) 2008, 2010 Free Software Foundation, Inc.
;;;
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Lesser General Public License
'("ice-9/boot-9.scm" "ice-9/common-list.scm"
"ice-9/format.scm" "ice-9/optargs.scm"
"ice-9/session.scm" "ice-9/getopt-long.scm"
- "ice-9/psyntax.pp")))
+ "ice-9/psyntax-pp.scm")))
(define (load-file-with-reader file-name reader buffering)
(with-input-from-file file-name
(benchmark "_IONBF" 5 ;; this one is very slow
(exercise-read (list _IONBF)))
- (benchmark "_IOLBF" 100
+ (benchmark "_IOLBF" 10
(exercise-read (list _IOLBF)))
- (benchmark "_IOFBF 4096" 100
+ (benchmark "_IOFBF 4096" 10
(exercise-read (list _IOFBF 4096)))
- (benchmark "_IOFBF 8192" 100
+ (benchmark "_IOFBF 8192" 10
(exercise-read (list _IOFBF 8192)))
- (benchmark "_IOFBF 16384" 100
+ (benchmark "_IOFBF 16384" 10
(exercise-read (list _IOFBF 16384))))