ankrgyl commented on PR #542:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/542#issuecomment-3514481105

   > > Here are the benchmark numbers run on my macbook pro. What I saw in 
production was dramatically more pronounced (mutex vs. arc swap, not arc swap 
vs. rwlock), but I don't have much more bandwidth to investigate that in depth.
   > 
   > What did you benchmark? Is this a micro benchmark for locking, or is it 
actually a workload running object_store requests?
   > 
   > given the total request time reported is in ms I am guessing the actual 
workload you have
   
   Benchmark is here: 
https://github.com/apache/arrow-rs-object-store/pull/542/files#diff-4e18aa7d15e47cfe7440ad519403de83caed450f907bc533b9aa414ca7f9c7de.
 I simulated object store requests via a 1-20ms sleep. Which obviously is not 
perfect...
   
   You can run it with
   
   ```
   cargo bench --bench cache_benchmark
   ```


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