[kepler-dev] [Bug 4539] New: - Applying a tag can be slow

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Nov 9 18:45:37 PST 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4539

           Summary: Applying a tag can be slow
           Product: Kepler
           Version: 1.x dev
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tagging
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: barseghian at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org


I've tracked down (one of?) the reason(s) for applying a tag being slow --
starting at the Workflow Run Manager a call is eventually made to SQLQueryV8's
getTagClassesForExecutionLSID, and the call therein to
NamedOntClass.createNamedOntClassFromURIs(tagURI, ontologyURI) is the expensive
part, it takes about 260ms. Sean do you know if that method can easily be sped
up? An alternative might be to only (look up and) set a WorkflowRun's tags
member variable right before it's really needed, but this feels a little less
clean.


More information about the Kepler-dev mailing list