keith-turner commented on issue #5809:
URL: https://github.com/apache/accumulo/issues/5809#issuecomment-3212246559
Added some prints the following is from the first run
```
comparing
{id=e} run:4.0 idle:42.0 ratio:0.09523809523809523
{id=d} run:5.0 idle:45.0 ratio:0.1111111111111111
comparing
{id=f} run:4.0 idle:42.0 ratio:0.09523809523809523
{id=d} run:5.0 idle:45.0 ratio:0.1111111111111111
```
and the following is from the second run.
```
comparing
{id=e} run:4.0 idle:9.0 ratio:0.4444444444444444
{id=d} run:5.0 idle:12.0 ratio:0.4166666666666667
comparing
{id=f} run:4.0 idle:8.0 ratio:0.5
{id=d} run:5.0 idle:11.0 ratio:0.45454545454545453
```
> It might have something to do with Java HotSpot optimizations and
System.currentTimeMillis() being an intrinsic candidate for HotSpot.
That seems like what is happening, the test runs faster the second time and
the idle time shrinks making the ratios differ for those same run times.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]