[cxx-interop] Increase the size of std::strings in benchmarks

Since https://github.com/swiftlang/swift/pull/75608, the performance of `std::string` <=> `Swift.String` conversions improved significantly. To make sure the workload is significant enough for the benchmark results to be noise-free, this bumps the size of Swift strings that are being tested.
This commit is contained in:
Egor Zhdan
2024-09-30 17:10:10 +01:00
parent fe796b419a
commit e6e5524fb1

View File

@@ -15,7 +15,7 @@ import CxxStdlibPerformance
import CxxStdlib
let cxxStringSize = 1_000_000
let swiftStringSize = 25_000
let swiftStringSize = 1_000_000
var cxxString: std.string? = nil
var swiftString: String? = nil