[committed] libstdc++: Add performance test for atomic_flag [PR 46447]

2020-12-16 Thread Jonathan Wakely via Gcc-patches
This adds a test to compare the performance of std::atomic_flag with similar operations on std::atomic_uchar and std::atomic_int. libstdc++-v3/ChangeLog: PR libstdc++/46447 * testsuite/performance/29_atomics/atomic_flag.cc: New test. Tested powerpc64le-linux. Committed to trunk.

[committed] libstdc++: Add performance test for

2020-10-09 Thread Jonathan Wakely via Gcc-patches
This tests std::uniform_int_distribution with various parameters and engines. libstdc++-v3/ChangeLog: * testsuite/performance/26_numerics/random_dist.cc: New test. Tested powerpc64le-linux. Committed to trunk. commit f9919ba717dfaf6018b7e625bebc84a461477b52 Author: Jonathan Wakely Date