[all-commits] [llvm/llvm-project] b2d249: [libc++] Make benchmarks forward-compatible with t...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Nov 5 06:08:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2d2494731976ab7aa9702f3134472db694b9332
      https://github.com/llvm/llvm-project/commit/b2d2494731976ab7aa9702f3134472db694b9332
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M libcxx/test/benchmarks/CartesianBenchmarks.h
    M libcxx/test/benchmarks/ContainerBenchmarks.h
    M libcxx/test/benchmarks/VariantBenchmarks.h
    M libcxx/test/benchmarks/algorithms.partition_point.bench.cpp
    M libcxx/test/benchmarks/algorithms/count.bench.cpp
    M libcxx/test/benchmarks/algorithms/equal.bench.cpp
    M libcxx/test/benchmarks/algorithms/fill.bench.cpp
    M libcxx/test/benchmarks/algorithms/find.bench.cpp
    M libcxx/test/benchmarks/algorithms/for_each.bench.cpp
    M libcxx/test/benchmarks/algorithms/lexicographical_compare.bench.cpp
    M libcxx/test/benchmarks/algorithms/lower_bound.bench.cpp
    M libcxx/test/benchmarks/algorithms/make_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/make_heap_then_sort_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/min.bench.cpp
    M libcxx/test/benchmarks/algorithms/min_max_element.bench.cpp
    M libcxx/test/benchmarks/algorithms/minmax.bench.cpp
    M libcxx/test/benchmarks/algorithms/mismatch.bench.cpp
    M libcxx/test/benchmarks/algorithms/pop_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/pstl.stable_sort.bench.cpp
    M libcxx/test/benchmarks/algorithms/push_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_contains.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_ends_with.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_make_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_make_heap_then_sort_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_pop_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_push_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_sort.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_sort_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/ranges_stable_sort.bench.cpp
    M libcxx/test/benchmarks/algorithms/set_intersection.bench.cpp
    M libcxx/test/benchmarks/algorithms/sort.bench.cpp
    M libcxx/test/benchmarks/algorithms/sort_heap.bench.cpp
    M libcxx/test/benchmarks/algorithms/stable_sort.bench.cpp
    M libcxx/test/benchmarks/allocation.bench.cpp
    M libcxx/test/benchmarks/atomic_wait.bench.cpp
    M libcxx/test/benchmarks/atomic_wait_vs_mutex_lock.bench.cpp
    M libcxx/test/benchmarks/deque.bench.cpp
    M libcxx/test/benchmarks/deque_iterator.bench.cpp
    M libcxx/test/benchmarks/exception_ptr.bench.cpp
    M libcxx/test/benchmarks/filesystem.bench.cpp
    M libcxx/test/benchmarks/format.bench.cpp
    M libcxx/test/benchmarks/format/write_double_comparison.bench.cpp
    M libcxx/test/benchmarks/format/write_int_comparison.bench.cpp
    M libcxx/test/benchmarks/format/write_string_comparison.bench.cpp
    M libcxx/test/benchmarks/format_to.bench.cpp
    M libcxx/test/benchmarks/format_to_n.bench.cpp
    M libcxx/test/benchmarks/formatted_size.bench.cpp
    M libcxx/test/benchmarks/formatter_float.bench.cpp
    M libcxx/test/benchmarks/formatter_int.bench.cpp
    M libcxx/test/benchmarks/function.bench.cpp
    M libcxx/test/benchmarks/hash.bench.cpp
    M libcxx/test/benchmarks/join_view.bench.cpp
    M libcxx/test/benchmarks/lexicographical_compare_three_way.bench.cpp
    M libcxx/test/benchmarks/libcxxabi/dynamic_cast.bench.cpp
    M libcxx/test/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
    M libcxx/test/benchmarks/map.bench.cpp
    M libcxx/test/benchmarks/monotonic_buffer.bench.cpp
    M libcxx/test/benchmarks/numeric/gcd.bench.cpp
    M libcxx/test/benchmarks/ordered_set.bench.cpp
    M libcxx/test/benchmarks/random.bench.cpp
    M libcxx/test/benchmarks/shared_mutex_vs_mutex.bench.cpp
    M libcxx/test/benchmarks/std_format_spec_string_unicode.bench.cpp
    M libcxx/test/benchmarks/std_format_spec_string_unicode_escape.bench.cpp
    M libcxx/test/benchmarks/stop_token.bench.cpp
    M libcxx/test/benchmarks/string.bench.cpp
    M libcxx/test/benchmarks/stringstream.bench.cpp
    M libcxx/test/benchmarks/system_error.bench.cpp
    M libcxx/test/benchmarks/to_chars.bench.cpp
    M libcxx/test/benchmarks/unordered_set_operations.bench.cpp
    M libcxx/test/benchmarks/variant_visit_1.bench.cpp
    M libcxx/test/benchmarks/variant_visit_2.bench.cpp
    M libcxx/test/benchmarks/variant_visit_3.bench.cpp
    M libcxx/test/benchmarks/vector_operations.bench.cpp

  Log Message:
  -----------
  [libc++] Make benchmarks forward-compatible with the test suite (#114502)

This patch fixes warnings and errors that come up when running the
benchmarks as part of the test suite. It also adds the necessary Lit
annotations to make it pass in various configurations and increases the
portability of the benchmarks.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list