You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2010/10/08 08:21:31 UTC

[jira] Commented: (CLEREZZA-320) SSP rendering is slow: scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass needs a lot of time to be executed

    [ https://issues.apache.org/jira/browse/CLEREZZA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919171#action_12919171 ] 

Tsuyoshi Ito commented on CLEREZZA-320:
---------------------------------------

in org.clerezza.test.render.zip is a testbundle which contains a method to call a ssp renderlet:
http://localhost:8080/test/render-ssp

it is also possible to compare it to a java renderlet with the same content:
http://localhost:8080/test/render-java

it is 10times faster.

> SSP rendering is slow: scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass needs  a lot of time to be executed
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-320
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-320
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: in netbeans, during cpu profiling exclude all java core classes
>            Reporter: Tsuyoshi Ito
>            Priority: Blocker
>         Attachments: org.clerezza.test.render.zip, page_reuest_wo_javacore.png
>
>
> during profiling session we detected that rendering ssp is very slow. A lot of time is used to execute scala.tool.nsc.interpreter.AbstractFileClassLoader.findClass. Seems that each execution the classes are (re)loaded. IMO this should not be the case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.