This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 12792
    
    5
The JAMon tools will get you started in benchmarking and monitoring.

Bill
 
Consider Paul's rocket mass heater.
 
subject: Performance Benchmarking for KeyGenerator