|
This however includes the WSS4J and XML-Security startup times. Try
"warming them up" first. for( int i = 0; i < 5; i++ ) { WSS4JHandler.processMessage(smc, true); } Followed by your current code. If you are running one-off requests from a client (i.e. the client starts, makes a request, then ends - JVM exits) then your timings are a valid representation of your requirement. If, on the other hand, you will run a JVM then make lots of requests then you should account for that by allowing the various components to initialize before doing any timing tests. You should also allow the JVM time for the JIT compiler to optimize the code. Consider on the server that it will run for a very long time handling thousands of requests (so the 5 in the loop above could be increased to possibly get a still better time). Pete Fang Jian wrote: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]No, it does not include the JVM startup time. The time measurement is as follows, |
- ws-security speed performance Fang Jian
- Re: ws-security speed performance Dustin Breese
- Re: ws-security speed performance Fang Jian
- Re: ws-security speed performance Davanum Srinivas
- Re: ws-security speed performance Fang Jian
- Re: ws-security speed performance Davanum Srinivas
- Re: ws-security speed performance Pete Hendry
- Re: ws-security speed performance Fang Jian
- Re: ws-security speed performance Pete Hendry
- Re: ws-security speed performance Fang Jian
- Re: ws-security speed performance Werner Dittmann
- Re: ws-security speed performance Fang Jian
- RE: ws-security speed performance Christof Soehngen
