gcc/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource
Jonathan Wakely a15032ee7b Optimize pool resource allocation
A recent change caused a performance regression. This restores the
previous performance and adds a performance test.

	* scripts/check_performance: Allow tests to choose a -std flag.
	* src/c++17/memory_resource.cc (bitset::get_first_unset()): Use local
	variables of the right types. Call update_next_word() unconditionally.
	* testsuite/20_util/unsynchronized_pool_resource/cons.cc: New test.
	* testsuite/performance/20_util/memory_resource/pools.cc: New test.
	* testsuite/util/testsuite_performance.h (time_counter): Allow
	timer to be restarted.

From-SVN: r266164
2018-11-15 00:04:19 +00:00
..
allocate-max-chunks.cc
allocate.cc Fix test that does undefined shifts greater than width of size_t 2018-11-15 00:04:12 +00:00
cons.cc Optimize pool resource allocation 2018-11-15 00:04:19 +00:00
is_equal.cc
options.cc Improve handling of pool_options::largest_required_pool_block 2018-11-13 22:57:53 +00:00
release.cc