generate CPU load in Java

后端 未结 5 1430
悲哀的现实
悲哀的现实 2020-12-31 07:18

I am conducting some throughput testing. My application has to

  1. read from JMS
  2. do some processing
  3. write to JMS

My goal here is t

5条回答
  •  猫巷女王i
    2020-12-31 07:57

    Encrypt a string (in a loop) by calling Cipher.update(). Encryption algorithms are by definition very difficult to optimize. The only problem is that there is some non-trivial setup you need to perform. I'm marking this answer as community wiki, so that somebody who's written it recently can fill it in.

提交回复
热议问题