Speed up OpenSAML initialization ?

Tom Zeller tzeller at dragonacea.biz
Fri Feb 27 16:35:33 EST 2015


On Fri, Feb 27, 2015 at 3:23 PM, Tom Zeller <tzeller at dragonacea.biz> wrote:
>> Sorry to spend time on this, I figured it was me, and it probably is.
>
> FWIW, Cipher.getInstance("AES/CBC/ISO10126Padding") takes ~5s (in Eclipse) via :
>
>     public static void main(String[] args) throws Exception {
>         long now = System.currentTimeMillis();
>         Cipher.getInstance("AES/CBC/ISO10126Padding");
>         long time = System.currentTimeMillis() - now;
>         System.out.println(time);
>     }

Another FWIW, from the command line (no Eclipse), running the above
with Java 7 takes ~5s and Java 8 ~200ms.

I'm done here, thanks for your patience.


More information about the dev mailing list