lack/benchmark/hunchentoot.lisp
Eitaro Fukamachi 627141bbe9 Add benchmark.
2015-03-13 15:10:58 +09:00

19 lines
485 B
Common Lisp

(in-package :cl-user)
(ql:quickload :hunchentoot)
(defpackage lack-benchmark.hunchentoot
(:use :cl
:hunchentoot))
(in-package :lack-benchmark.hunchentoot)
(setf *session-secret* "abcd")
(define-easy-handler (index :uri "/") ()
(start-session)
"Hello, World")
(start (make-instance 'easy-acceptor
:port 5000
:access-log-destination nil
:document-root (asdf:system-relative-pathname :lack #P"data/")))