[ 
https://issues.apache.org/jira/browse/COUCHDB-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028478#comment-13028478
 ] 

Caolan McMahon commented on COUCHDB-890:
----------------------------------------

According to my tests this module caching patch doesn't actually work... the 
compiled function isn't available on the next resolveModule call and 
performance remains unchanged after the patch (when I've seen big speed 
improvements with the other implementation).

> Add caching to CommonJS modules
> -------------------------------
>
>                 Key: COUCHDB-890
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-890
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server
>         Environment: All
>            Reporter: mikeal
>         Attachments: commonjscache.diff
>
>
> We need some caching in the commonjs modules so that when you 
> require('jsdom') it doesn't eval it every time you do a GET request to a show 
> function.
> Patch coming.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to