onebox-li commented on PR #2086:
URL: 
https://github.com/apache/incubator-celeborn/pull/2086#issuecomment-1807862778

   These calculations are sensitive to performance(within milliseconds) and it 
may be biased when using current benchmark framework. So I tested them locally 
and the results are more intuitive, shown below.
   ```
   java version "1.8.0_261"
   =====================
   origin costs 1026147 ns, 1.00x
   for seq costs 791501 ns, 1.30x
   for array costs 336341 ns, 3.05x
   while seq costs 36436 ns, 28.16x
   while array costs 1082 ns, 948.38x
   object hash costs 9595 ns, 106.95x
   ```
   


-- 
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]

Reply via email to