Egor Zhdan
0da22a3420
[cxx-interop] Add benchmark for std::set conversion to a Swift collection
2023-01-16 16:18:07 +00:00
Egor Zhdan
bd8cf0272c
[cxx-interop] Remove manual std::vector conformance in the benchmark
...
`std::vector::const_iterator` is now automatically conformed to `UnsafeCxxRandomAccessIterator`, and `std::vector` is conformed to `CxxRandomAccessCollection`.
The manually added conformances are now redundant.
2023-01-06 14:10:12 +00:00
Alex Lorenz
a50939b07e
[interop] cxx vec benchmark - initialize vector before benchmark
2022-10-10 11:06:10 -07:00
Alex Lorenz
ca927dc295
[interop] cxx vector benchmark: iterator is fast with operator == in C++, and subscript is fast with https://github.com/apple/swift/issues/61499 fixed
2022-10-10 09:14:40 -07:00
Alex Lorenz
157be05c97
[interop] rewrite the C++ vector sum benchmark to have clear naming and take iter into account
2022-10-10 09:13:31 -07:00
Alex Lorenz
d72b592eeb
[cxx-interop] Add initial benchmark to compare vector<uint32_t> sum in C++ vs Swift
2022-10-10 09:13:31 -07:00
Nuri Amari
cda2c26d8c
Create ReadAccessor benchmark
...
Create a benchmark to test the
performance of synthesized read
accessors generated to interop
with C++ [] operators.
2022-03-07 10:19:25 -05:00
zoecarver
388c2ffff8
[nfc] Add header guards and "requres cplusplus" to C++ benchmarks.
2021-01-08 15:47:49 -08:00
zoecarver
01b12cfe6e
[cxx-interop] Add support for benchmarks with C++ interop.
...
* Adds support for benchmarks that use C++ modules.
* Adds "CreateObjects" benchmark that creates C++ objects.
2020-10-06 19:33:22 -07:00