> Are you running this under Windows by any chance?
>
> If yes, read this:http://groups.google.com/group/weblocks/msg/e182769e577e8e2c

Just tried the memoization trick... can't figure out why, but it
didn't help much.
Here's my profiling results:
( http://paste.lisp.org/display/91752 for the whole enchilada)

  seconds  |   calls |  name
---------------------------------------
    57.166 |   2,280 | WEBLOCKS:ASDF-SYSTEM-DIRECTORY
    56.117 |   4,560 | AW::CACHED-SYSDEF-CENTRAL-REGISTRY-SEARCH
     4.212 |     759 | WEBLOCKS:RENDER-LINK
     2.198 |     760 | WEBLOCKS:WITH-WIDGET-HEADER
     0.534 |   2,280 | WEBLOCKS:MAKE-LOCAL-DEPENDENCY
     0.187 |     760 | WEBLOCKS:RENDER-WIDGET-BODY
     0.134 |   2,280 | WEBLOCKS:COMPUTE-PUBLIC-FILES-PATH
     0.128 |   2,280 | WEBLOCKS:COMPUTE-WEBAPP-PUBLIC-FILES-PATH
     0.110 |     759 | WEBLOCKS::GENERATE-ACTION-CODE
     0.077 |   5,444 | WEBLOCKS::CL-ESCAPE-STRING
     0.060 |     759 | WEBLOCKS:REQUEST-URI-PATH
     0.057 |     760 | WEBLOCKS:DOM-CLASSES
     0.049 |     759 | WEBLOCKS:MAKE-ACTION-URL
     0.044 |   7,602 | WEBLOCKS:ATTRIBUTIZE-NAME
     0.029 |     759 | (SETF WEBLOCKS:WEBAPP-SESSION-VALUE)
     0.019 |   1,522 | WEBLOCKS::ENSURE-DOM-ID
     0.019 |   2,280 | WEBLOCKS:PUBLIC-FILE-RELATIVE-PATH
     0.010 |     759 | WEBLOCKS:LOG-UI-ACTION
     0.010 |     759 | AW::NAME
     0.010 |     760 | WEBLOCKS:WIDGET-SUFFIX-FN
     0.010 |     763 | WEBLOCKS:AJAX-REQUEST-P
     0.010 |     802 | WEBLOCKS:SESSION-NAME-STRING-PAIR
     0.009 |     759 | WEBLOCKS:LOG-LINK
     0.009 |     762 | WEBLOCKS:DOM-ID
     0.008 |   3,098 | WEBLOCKS:CURRENT-WEBAPP
     0.008 |     759 | WEBLOCKS:MAKE-ACTION

It seems to me like render-link is running at the expected amount
(there are 612 photos in the directory tree), but 4 seconds seems a
little costly.  Obviously, the elephant in the room is still ASDF-
SYSTEM-DIRECTORY (and I'm running Ubuntu).

--

You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.


Reply via email to