File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes Performance Benchmarking for KeyGenerator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Performance Benchmarking for KeyGenerator" Watch "Performance Benchmarking for KeyGenerator" New topic
Author

Performance Benchmarking for KeyGenerator

James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 215
All,

Never conducted performance benchmarking on any of my Java apps before...

I wrote the following KeyGenerator:



The client:



Output:



Question(s):

(1) How do I conduct performance benchmarking (generate a bunch of keys, inside the client, in a very short timeframe), so I can compare performance between libraries (when I implement the same thing using BouncyCastle)?

(2) What tools do I need to learn and / or use?

Happy coding to all!

James
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
The JAMon tools will get you started in benchmarking and monitoring.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance Benchmarking for KeyGenerator
 
Similar Threads
Question on java.util.Random
KeyGenerator, Part II
KeyGenerator using JCE
Random number problem
Random numbers without repeatation