test/run.lisp @ 100ba597fd85

Add a beast of a macro to clean up/optimize the hot loop
author Steve Losh <steve@stevelosh.com>
date Thu, 14 Jul 2016 22:42:53 +0000
parents 5c914fbcb042
children 8a247663fec5
#+ecl (setf compiler:*user-cc-flags* "-Wno-shift-negative-value")

(declaim (optimize (debug 3) (safety 3) (speed 0)))


(let ((*standard-output* (make-broadcast-stream))
      (*error-output* (make-broadcast-stream)))
  (asdf:load-system 'bones :force t)
  (ql:quickload "bones-test"))

(defun done (exit-code)
  #+sbcl (sb-ext:exit :code exit-code)
  #+ccl (quit exit-code)
  #+ecl (quit exit-code))


(time (progn (1am:run) (terpri)))
(terpri)
(done 0)