I've occasionally made the following suggestion before, although I recognize 
that it implies a great deal of work: It might be a good technique to establish 
a registry/pool of prepared transformations and validations in Fedora, in order 
to avoid as much as possible the expensive construction of such machinery in 
the course of an actual operation against the repository. Essentially this is 
Steve's suggestion below ("explore caching of the prepared stylesheets") writ 
very large.

---
A. Soroka
Online Library Environment
the University of Virginia Library




On Jan 25, 2012, at 10:29 AM, Stephen Bayliss wrote:

> Following the call timing test that Chris did a little while ago [1, 2] I 
> have now had chance to have a quick play-around with YourKit myself.
>  
> Initial results from some not-very-extensive tests confirm the findings that 
> Chris made - I was seeing that the "prepare" of the stylesheet for the 
> Schematron validation taking around 25% of DefaultManagement.ingest total 
> time (so this is a little lower than Chris' results, but still significant).
>  
> So should we just go ahead and raise an issue for this?
>  
> I was planning on taking a look at FCREPO-1026 and as part of this can 
> explore caching of the prepared stylesheets as it is related (and including a 
> configuration option to disable Schematron validation entirely).  I was also 
> planning taking a look at FCREPO-1029, FCREPO-1030 and FCREPO-1031 (and 
> possibly FCREPO-1027) as part of this piece of work as a lot of them are in 
> the same code area.
>  
> Any thoughts welcomed!
>  
> Steve
>  
> [1] 
> https://wiki.duraspace.org/display/FCREPO/2011-11-01+-+Fedora+Committer+Meeting
> [2] 
> https://wiki.duraspace.org/download/attachments/30216221/YourKitCallTimingExample.png
>  
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
> Fedora-commons-developers mailing list
> Fedora-commons-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to