SO case with megane's patches added by mario-goulart on Sun Aug 2 20:56:48 2020
;; * bench.scm is the benchmark program from ;; https://stackoverflow.com/questions/62826083/chicken-scheme-read-line-taking-too-long ;; ;; * csc is CHICKEN 5.2.0 ;; ;; * ~/local/chicken-megane is master as of 1707357f942 plus ;; megane's patches (https://lists.nongnu.org/archive/html/chicken-hackers/2020-01/msg00002.html) ;; ;; * the input file (largeish_file.txt) is a copy of csi.c ;; 5.2.0 $ csc bench.scm && ./bench 53.821s CPU time, 27.692s GC time (major), 56694/313 mutations (total/tracked), 13110/39984 GCs (major/minor), maximum live heap: 4.33 MiB 0.043s CPU time, 0.01s GC time (major), 56700/330 mutations (total/tracked), 4/432 GCs (major/minor), maximum live heap: 3.18 MiB $ csc bench.scm && ./bench -:s8000k 20.764s CPU time, 7.528s GC time (major), 56694/37 mutations (total/tracked), 3198/3597 GCs (major/minor), maximum live heap: 4.3 MiB 0.05s CPU time, 0.001s GC time (major), 56700/46 mutations (total/tracked), 1/54 GCs (major/minor), maximum live heap: 1.22 MiB ;; master + megane's patches $ ~/local/chicken-megane/bin/csc bench.scm && ./bench 33.629s CPU time, 6.828s GC time (major), 56694/319 mutations (total/tracked), 3002/50092 GCs (major/minor), maximum live heap: 4.29 MiB 0.03s CPU time, 56700/330 mutations (total/tracked), 0/436 GCs (major/minor), maximum live heap: 247.02 KiB $ ~/local/chicken-megane/bin/csc bench.scm && ./bench -:s8000k 16.859s CPU time, 3.147s GC time (major), 56694/35 mutations (total/tracked), 1258/5537 GCs (major/minor), maximum live heap: 4.3 MiB 0.047s CPU time, 56700/46 mutations (total/tracked), 0/55 GCs (major/minor), maximum live heap: 247.05 KiB