We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ffca5 commit 721d1a0Copy full SHA for 721d1a0
libcxx/test/benchmarks/shared_mutex_vs_mutex.bench.cpp
@@ -8,6 +8,10 @@
8
9
// UNSUPPORTED: c++03, c++11, c++14
10
11
+// This benchmark is very expensive and we don't want to run it on a regular basis,
12
+// only to ensure the code doesn't rot.
13
+// REQUIRES: enable-benchmarks=dry-run
14
+
15
// This benchmark compares the performance of std::mutex and std::shared_mutex in contended scenarios.
16
// it's meant to establish a baseline overhead for std::shared_mutex and std::mutex, and to help inform decisions about
17
// which mutex to use when selecting a mutex type for a given use case.
0 commit comments