You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/03/11 13:11:35 UTC

[GitHub] [nifi-minifi-cpp] adamdebreceni removed a comment on pull request #1027: MINIFICPP-1487 Use a single queue for flow files

adamdebreceni removed a comment 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 by a factor 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:
users@infra.apache.org