masaori335 commented on PR #9394:
URL: https://github.com/apache/trafficserver/pull/9394#issuecomment-1439523746
Microbenchmark with DenseThreadId is below. We can go with it because it has
no collision and we can reduce the slot size.
## read: 1000, write: 0
|ts::bravo::shared_mutex (DenseThreadId)
-- |--
1 |1.02784
2 |1.04234
4 |1.06245
8 |1.14418
16 |1.33218
32 |2.40103
64 |3.26439
## read: 1000, write: 1
|ts::bravo::shared_mutex (DenseThreadId)
-- |--
1 |1.25493
2 |47.5607
4 |85.9465
8 |130.392
16 |106.654
32 |237.198
64 |1259.23
<img width="1095" alt="Screenshot 2023-02-22 at 15 47 28"
src="https://user-images.githubusercontent.com/741391/220544166-c90411ba-1079-4517-905c-3298e969d429.png">
--
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]