<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>My cl-launch scripts can take one second.</div><div><br></div><div>I can trim a half second off that with a disk-cache[2] of *source-registry*. </div><div><br></div><div>Tedious details follow.</div><div><br></div>My cl-launch install defaults to using ccl.  My ccl install is currently HEAD.<div><br></div><div>My current setup has 3.8K working directories, which compute-source-registry scans.<div><br></div><div>Ok I have three little bash functions[1] to time things.</div><div>  try-ccl-  — run ccl with —no-init</div><div>  try-cl     — run cl-launch, so no init file; but it will load asdf.</div><div>  try-ccl   — run ccl with standard quicklisp init file</div></div><div><br></div><div>Without the disk cache.</div><div>  try-ccl-   0.03 seconds</div><div>  try-cl      1      seconds</div><div>  try-ccl    1      seconds</div><div><br></div><div>With the disk cache:</div><div>  try-ccl-  0.03 seconds</div><div>  try-cl     0.5 seconds</div><div>  try-ccl   0.5 seconds</div><div><br></div><div>These #’s are gleaned from batches of 10 runs so things can settle.</div><div><br></div><div>Theories for that remaining half a second need looking into.</div><div><br></div><div> - ben</div><div><br></div><div>[1] The three bash functions</div><div>try-ccl-(){ (time ccl --no-init --eval '(progn (print (lisp-implementation-type)) (quit))') 2>&1 | grep real ; }</div><div>try-ccl(){ (time ccl --eval '(progn (print (lisp-implementation-type)) (quit))') 2>&1 | grep real ; }</div><div>try-cl(){ (time cl -ip '(lisp-implementation-type)') 2>&1 | grep real ; }</div><div><br></div><div>[2] A proof of concept disk cache...</div><div><br></div><div><div> <a href="https://gist.github.com/bhyde/526c5acb38f341d60dba">https://gist.github.com/bhyde/526c5acb38f341d60dba</a></div></div><div><br></div><div>So, anytime somebody rearranges the set of asdf systems they</div><div>are expected to invoke reset-quickasdf.</div><div><br></div><div>quickasdf horrible name - but it bemused me at the time.</div><div><br></div><div><div>Calling initialize-source-registry directly from the repl takes</div><div>0.47 seconds without the diskcache and .004 seconds with it.</div></div><div><br></div></body></html>