wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 12769
    
    5
The JAMon tools will get you started in benchmarking and monitoring.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Performance Benchmarking for KeyGenerator