1
0
mirror of synced 2026-02-27 09:28:48 +00:00
Files
Interlisp.medley/cl-bench/sysdep/setup-ecl.lisp
Larry Masinter 02ed8d4bf4 add cl-benchmarks
benchmarks probably belong under internal/benchmarks
2020-09-16 23:17:10 -07:00

23 lines
368 B
Common Lisp

;;; setup file for cl-bench running in ECL
;;
;; tested with ECL 0.9
;;
;; see <URL:http://ecls.sf.net/>
(load "defpackage")
(in-package :cl-bench)
(defun bench-gc ()
(si:gc t))
(defmacro with-spawned-thread (&body body)
`(progn ,@body))
;; to autoload the compiler
(compile 'bench-gc)
(setq c::*cc-flags* (concatenate 'string "-I. " c::*cc-flags*))
;; EOF