gcc/libstdc++-v3/testsuite/util
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
..
common_type
debug
exception
hash_fn
io
native_type
performance
regression
statistic
thread
replacement_memory_operators.h
specfun_testcase.h
testsuite_abi_check.cc
testsuite_abi.cc PR libstdc++/83328 add correct basic_string::insert for initializer_list 2018-06-21 23:01:25 +01:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h Fix failure when -fno-rtti test is run in C++17 or later 2018-08-23 20:27:54 +01:00
testsuite_api.h
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h P0935R0 Eradicating unnecessarily explicit default constructors 2018-06-12 20:10:55 +01:00
testsuite_container_traits.h
testsuite_containergen.h
testsuite_containers.h testsuite_containers.h (forward_members_unordered<>::forward_members_unordered (const value_type&)): Add local_iterator pre and post increment checks. 2018-10-20 20:00:45 +00:00
testsuite_counter_type.h
testsuite_error.h
testsuite_fs.h
testsuite_greedy_ops.h
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h Optimize std::sub_match comparisons using string_view-like type 2018-07-02 21:31:11 +01:00
testsuite_new_operators.h
testsuite_performance.h Optimize pool resource allocation 2018-11-15 00:04:19 +00:00
testsuite_random.h
testsuite_regex.h
testsuite_rng.h
testsuite_rvalref.h
testsuite_shared.cc
testsuite_tr1.h