Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance Benchmarking for KeyGenerator

 
James Dekker
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JAMon tools will get you started in benchmarking and monitoring.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic