mirror of
https://gitlab.com/vindarel/ciel.git
synced 2025-12-05 18:20:34 -08:00
.asd: add compression to build image, at the expense of start-up time now 0.40s
do we want choices? Both a 100MB binary that starts-up instantly AND this one, 28MB, starts-up in 0.40s.
This commit is contained in:
parent
ee7e64d014
commit
c191b70d2c
1 changed files with 6 additions and 0 deletions
6
ciel.asd
6
ciel.asd
|
|
@ -200,3 +200,9 @@
|
|||
;;; This defines ciel.asd. It is enough to quickload CIEL.
|
||||
;;; But to build a binary,
|
||||
;;; see build-config.lisp for extra config.
|
||||
|
||||
;; build a smaller executable with SBCL's core compression:
|
||||
;; from 119MB to 28MB, however startup time increases from 0.02 to 0.35s (noticeable).
|
||||
#+sb-core-compression
|
||||
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
|
||||
(uiop:dump-image (asdf:output-file o c) :executable t :compression t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue