<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/27/15 2:43 PM, Cantor, Scott
      wrote:<br>
    </div>
    <blockquote cite="mid:6210CA37-3725-4793-81FE-D87BD621AF8C@osu.edu"
      type="cite">
      <pre wrap="">On 2/27/15, 2:38 PM, "Brent Putman" <a class="moz-txt-link-rfc2396E" href="mailto:putmanb@georgetown.edu">&lt;putmanb@georgetown.edu&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
That seems like a long time.  I've never noticed that it takes that long 
for me, but I'll pay attention the next time I'm running tests or 
starting my test IdP.
</pre>
      </blockquote>
      <pre wrap="">
Me either, though of course the tests spinning up can take time. But that 
seems more likely to be related to the XML provider initialization and 
such.</pre>
    </blockquote>
    <br>
    Yeah, I just ran a test with logging timestamps turned on.  The
    AlgorithmRegistry init took 120ms.  And this is on my workstation in
    Eclipse.  So I'm very skeptical that the time is there.<br>
    <br>
    I think Scott is right, it's much more likely to be in something
    like the XML provider init.  But I still have never seen it take
    anywhere near that long.<br>
    <br>
    Below is a run on my workstation from a test in opensaml-saml-impl
    with logging timestamps. Took a little over 3 seconds (not counting
    the Test* ones at the end which wouldn't run normally). Seems like
    most of the time is taken by the 3 big XMLObject provider
    initializers (highlighted).  The SAML one for example took about 1.5
    seconds, The xmlsec and SOAP provider ones are similar. Those are
    the ones that have lots of XMLObject provider impls. I don't know
    what we can do about those.<br>
    <br>
    The AlgorithmRegistry took about 212ms here. It's not a problem.<br>
    <br>
    <br>
    <br>
    <tt>2015-02-27 15:14:11,728 --  INFO  InitializationService -
      Initializing OpenSAML using the Java Services API</tt><tt><br>
    </tt><b><tt>2015-02-27 15:14:11,784 --  DEBUG InitializationService
        - Initializing module initializer implementation:
        org.opensaml.saml.config.XMLObjectProviderInitializer</tt></b><tt><br>
    </tt><tt>2015-02-27 15:14:13,418 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.saml.config.SAMLConfigurationInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,418 --  DEBUG
      SAMLConfigurationInitializer - Initializing SAML Artifact builder
      factories</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,436 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.core.xml.config.XMLObjectProviderInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,466 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.core.xml.config.GlobalParserPoolInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,469 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.xmlsec.config.GlobalAlgorithmRegistryInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,681 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.security.config.ClientTLSValidationConfiguratonInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:13,844 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.xmlsec.config.JavaCryptoValidationInitializer</tt><tt><br>
    </tt><b><tt>2015-02-27 15:14:13,845 --  DEBUG InitializationService
        - Initializing module initializer implementation:
        org.opensaml.xmlsec.config.XMLObjectProviderInitializer</tt></b><tt><br>
    </tt><tt>2015-02-27 15:14:14,239 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.xmlsec.config.ApacheXMLSecurityInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:14,240 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.xmlsec.config.GlobalSecurityConfigurationInitializer</tt><tt><br>
    </tt><b><tt>2015-02-27 15:14:14,346 --  DEBUG InitializationService
        - Initializing module initializer implementation:
        org.opensaml.soap.config.XMLObjectProviderInitializer</tt></b><tt><br>
    </tt><tt>2015-02-27 15:14:15,150 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.core.xml.config.TestXMLObjectProviderInitializer</tt><tt><br>
    </tt><tt>2015-02-27 15:14:15,221 --  DEBUG InitializationService -
      Initializing module initializer implementation:
      org.opensaml.xmlsec.config.TestXMLObjectProviderInitializer</tt><tt><br>
    </tt><br>
  </body>
</html>