adamdebreceni commented on pull request #1027:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1027#issuecomment-796714939


   
![image](https://user-images.githubusercontent.com/64783590/110789866-a28c8c00-8270-11eb-9479-0d69068f251f.png)
   
   !mind the baseline labeled "empty", that is a constant cost of the 
benchmarking system!
   
   I have measured if there is observable penalty going to O(log n), these 
tests operate (push/pop) on 10 `std::shared_ptr` instances, popping 10 elements 
from a 1000000 long priority_queue takes less than a microsecond on my machine, 
of course compared to the deque it is a slowdown on the order of 10, but based 
on this, I would not worry about it being a bottleneck of some sort


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to