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 Update copyright years. 2018-01-03 11:03:58 +01:00
debug Update copyright years. 2018-01-03 11:03:58 +01:00
exception Update copyright years. 2018-01-03 11:03:58 +01:00
hash_fn Update copyright years. 2018-01-03 11:03:58 +01:00
io Update copyright years. 2018-01-03 11:03:58 +01:00
native_type Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
regression Update copyright years. 2018-01-03 11:03:58 +01:00
statistic Update copyright years. 2018-01-03 11:03:58 +01:00
thread Update copyright years. 2018-01-03 11:03:58 +01:00
replacement_memory_operators.h Update copyright years. 2018-01-03 11:03:58 +01:00
specfun_testcase.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_abi_check.cc Update copyright years. 2018-01-03 11:03:58 +01:00
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 Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_allocator.cc Update copyright years. 2018-01-03 11:03:58 +01:00
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 Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_character.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_character.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_common_types.h P0935R0 Eradicating unnecessarily explicit default constructors 2018-06-12 20:10:55 +01:00
testsuite_container_traits.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_containergen.h Update copyright years. 2018-01-03 11:03:58 +01:00
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 Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_error.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_fs.h PR libstdc++/78870 support std::filesystem on Windows 2018-05-31 20:20:24 +01:00
testsuite_greedy_ops.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_hooks.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_hooks.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_io.h Update copyright years. 2018-01-03 11:03:58 +01:00
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 Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_performance.h Optimize pool resource allocation 2018-11-15 00:04:19 +00:00
testsuite_random.h PR c++/67445 - returning temporary initializer_list. 2018-05-29 16:04:52 -04:00
testsuite_regex.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_rng.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_rvalref.h Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_shared.cc Update copyright years. 2018-01-03 11:03:58 +01:00
testsuite_tr1.h Update copyright years. 2018-01-03 11:03:58 +01:00