This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Performance Benchmarking for KeyGenerator" Watch "Performance Benchmarking for KeyGenerator" New topic

Performance Benchmarking for KeyGenerator

James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 215

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

I wrote the following KeyGenerator:

The client:



(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!

William Brogden
Author and all-around good cowpoke

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

It is sorta covered in the JavaRanch Style Guide.
subject: Performance Benchmarking for KeyGenerator
Similar Threads
KeyGenerator using JCE
Question on java.util.Random
KeyGenerator, Part II
Random numbers without repeatation
Random number problem