Multithread test for testing reader-writer performance

32 views
Skip to first unread message

Amar Srivastava

unread,
Apr 7, 2023, 1:27:29 PM4/7/23
to benchmark-discuss
Hello

I have seen examples where a function is executed by multiple threads but i want 2 functions -reader() and writer() to run simultaneously, where both share same data structures. wanted to test performance of locks .
I couldnt find a single example how to do that. 
pls help

dominic hamon

unread,
Apr 11, 2023, 4:11:18 AM4/11/23
to Amar Srivastava, benchmark-discuss
hello!

can you share any efforts you've made?  is it the work being done by the reader and writer that you care to measure, or the locking structure itself?

dominic hamon | google
there are no bad ideas; only good ideas that go horribly wrong.


--
You received this message because you are subscribed to the Google Groups "benchmark-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to benchmark-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/benchmark-discuss/f9861710-78ac-4023-84f6-c2ec0b85a522n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages