[EQL5] Slow startup

Erik Winkels aerique at xs4all.nl
Tue Jan 12 12:30:03 UTC 2021


On 2021-01-01 12:12, PR wrote:
> Loading ASDF on mobile _is_ slow, and there is nothing we can do about
> it, unfortunately.

I've alleviated my slow startup somewhat by

     diff --git a/make.lisp b/make.lisp
     index 41d4e3d..52b05b6 100644
     --- a/make.lisp
     +++ b/make.lisp
     @@ -13,7 +13,8 @@
      (asdf:make-build "app"
                       :monolithic t
                       :type :static-library
     -                 :prologue-code '(require :ecl-quicklisp)
     +                 :prologue-code '(progn (require :sb-bsd-sockets)
     +                                        (require :asdf))
                       :move-here "./"
                       :init-name "init_lib_APP__ALL_SYSTEMS")

At least now I only have the slow startup time of ASDF which is 
currently acceptable for my app.  At least it doesn't install Quicklisp 
on the first run anymore ;-)

> ASDF should therefore never be a dependency in a final app (there are
> ways to avoid it, even if some libraries want it to be present.)

I found this post (of yours?): 

Is this what you meant?  Where do you use this code?


More information about the ecl-devel mailing list