> Try memoizing either make-local-dependency or compute-public-files-
> path.
> Or for starters just set a literal public files path in DEFWEBAPP.

Looks better:

 seconds  | calls  | sec/call  |  name
------------------------------------------
    7.585 |  1,411 |  0.005375 | WEBLOCKS:RENDER-LINK
    4.025 |  1,412 |  0.002851 | WEBLOCKS:WITH-WIDGET-HEADER
    0.803 |  4,237 |  0.000189 | WEBLOCKS:ASDF-SYSTEM-DIRECTORY
    0.659 |  4,236 |  0.000156 | WEBLOCKS:MAKE-LOCAL-DEPENDENCY
    0.278 |  4,237 |  0.000066 | WEBLOCKS:COMPUTE-WEBAPP-PUBLIC-FILES-
PATH
    0.223 |  1,412 |  0.000158 | WEBLOCKS:RENDER-WIDGET-BODY
    0.210 |  1,411 |  0.000149 | WEBLOCKS::GENERATE-ACTION-CODE
    0.200 |  4,237 |  0.000047 | WEBLOCKS:COMPUTE-PUBLIC-FILES-PATH
    0.103 | 14,123 |  0.000007 | WEBLOCKS:ATTRIBUTIZE-NAME
    0.057 | 10,113 |  0.000006 | WEBLOCKS::CL-ESCAPE-STRING
    0.049 |  1,411 |  0.000034 | WEBLOCKS:MAKE-ACTION-URL
    0.047 |  8,474 |  0.000006 | AW::CACHED-SYSDEF-CENTRAL-REGISTRY-
SEARCH
    0.040 |  1,411 |  0.000028 | WEBLOCKS:REQUEST-URI-PATH
    0.029 |  4,236 |  0.000007 | WEBLOCKS:PUBLIC-FILE-RELATIVE-PATH
    0.028 |  1,414 |  0.000019 | WEBLOCKS:DOM-ID
    0.024 |  1,412 |  0.000017 | WEBLOCKS:DOM-CLASSES

It's a shame rendering 1,400 links takes 7 seconds, but I think that's
the cost of closures unless i'm mistaken

--

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