llvm-capstone/libcxx/benchmarks
Nikolas Klauser b1dc43aa3a [libc++] Optimize for_each for segmented iterators
```
---------------------------------------------------
Benchmark                       old             new
---------------------------------------------------
bm_for_each/1               3.00 ns         2.98 ns
bm_for_each/2               4.53 ns         4.57 ns
bm_for_each/3               5.82 ns         5.82 ns
bm_for_each/4               6.94 ns         6.91 ns
bm_for_each/5               7.55 ns         7.75 ns
bm_for_each/6               7.06 ns         7.45 ns
bm_for_each/7               6.69 ns         7.14 ns
bm_for_each/8               6.86 ns         4.06 ns
bm_for_each/16              11.5 ns         5.73 ns
bm_for_each/64              43.7 ns         4.06 ns
bm_for_each/512              356 ns         7.98 ns
bm_for_each/4096            2787 ns         53.6 ns
bm_for_each/32768          20836 ns          438 ns
bm_for_each/262144        195362 ns         4945 ns
bm_for_each/1048576       685482 ns        19822 ns
```

Reviewed By: ldionne, Mordante, #libc

Spies: arichardson, libcxx-commits

Differential Revision: https://reviews.llvm.org/D151274
2023-05-31 18:15:25 -07:00
..
algorithms [libc++] Optimize for_each for segmented iterators 2023-05-31 18:15:25 -07:00
libcxxabi [libc++abi] Improve performance of __dynamic_cast 2023-03-19 10:04:34 +01:00
algorithms.partition_point.bench.cpp
allocation.bench.cpp
CartesianBenchmarks.h
CMakeLists.txt [libc++] Optimize for_each for segmented iterators 2023-05-31 18:15:25 -07:00
ContainerBenchmarks.h [libc++, std::vector] call the optimized version of __uninitialized_allocator_copy for trivial types 2023-05-24 13:40:53 -07:00
deque_iterator.bench.cpp
deque.bench.cpp
filesystem.bench.cpp
format_to_n.bench.cpp
format_to.bench.cpp
format.bench.cpp
formatted_size.bench.cpp
formatter_float.bench.cpp
formatter_int.bench.cpp
function.bench.cpp
GenerateInput.h
join_view.bench.cpp [libc++] Enable segmented iterator optimizations for join_view::iterator 2023-01-20 07:55:58 +01:00
lexicographical_compare_three_way.bench.cpp [libc++][spaceship] Implement lexicographical_compare_three_way 2023-02-12 14:51:08 -08:00
lit.cfg.py [NFC][Py Reformat] Reformat python files in libcxx/libcxxabi 2023-05-25 11:15:34 +02:00
lit.site.cfg.py.in
map.bench.cpp
monotonic_buffer.bench.cpp
ordered_set.bench.cpp
random.bench.cpp
std_format_spec_string_unicode.bench.cpp
string.bench.cpp
stringstream.bench.cpp
to_chars.bench.cpp
unordered_set_operations.bench.cpp
util_smartptr.bench.cpp
Utilities.h
variant_visit_1.bench.cpp
variant_visit_2.bench.cpp
variant_visit_3.bench.cpp
VariantBenchmarks.h
vector_operations.bench.cpp [libc++, std::vector] call the optimized version of __uninitialized_allocator_copy for trivial types 2023-05-24 13:40:53 -07:00