Bionix1441
Bionix1441

Reputation: 2319

what causes the error in the jmh measurements?

I would like to know what could be the possible cause for having a margin of errors in the score results of jmh test. At the end of the day, it is the same code executed for a number of iterations.

Upvotes: 4

Views: 1106

Answers (1)

Aleksey Shipilev
Aleksey Shipilev

Reputation: 18847

Okay, taking a bait and assuming this is not an April 1 prank. You may start from here:

"No measurement is exact. When a quantity is measured, the outcome depends on the measuring system, the measurement procedure, the skill of the operator, the environment, and other effects.[1] Even if the quantity were to be measured several times, in the same way and in the same circumstances, a different measured value would in general be obtained each time, assuming the measuring system has sufficient resolution to distinguish between the values."

Upvotes: 6

Related Questions