@@ -24,8 +24,8 @@ public let FloatingPointConversion = [
24
24
tags: [ . validation, . api] ,
25
25
setUpFunction: { blackHole ( mockFloat64s) } ) ,
26
26
BenchmarkInfo (
27
- name: " ConvertFloatingPoint.MockFloat64Exactly.bis " ,
28
- runFunction: run_ConvertFloatingPoint_MockFloat64Exactly_bis ,
27
+ name: " ConvertFloatingPoint.MockFloat64Exactly2 " ,
28
+ runFunction: run_ConvertFloatingPoint_MockFloat64Exactly2 ,
29
29
tags: [ . validation, . api] ,
30
30
setUpFunction: { blackHole ( mockFloat64s) } ) ,
31
31
BenchmarkInfo (
@@ -183,7 +183,7 @@ func convert<
183
183
184
184
@inline ( never)
185
185
public func run_ConvertFloatingPoint_MockFloat64Exactly( _ N: Int ) {
186
- for _ in 0 ..< ( N * 100 ) {
186
+ for _ in 0 ..< ( N * 25 ) {
187
187
for element in mockFloat64s {
188
188
let f = convert ( exactly: identity ( element) , to: Double . self)
189
189
blackHole ( f)
@@ -192,8 +192,8 @@ public func run_ConvertFloatingPoint_MockFloat64Exactly(_ N: Int) {
192
192
}
193
193
194
194
@inline ( never)
195
- public func run_ConvertFloatingPoint_MockFloat64Exactly_bis ( _ N: Int ) {
196
- for _ in 0 ..< ( N * 100 ) {
195
+ public func run_ConvertFloatingPoint_MockFloat64Exactly2 ( _ N: Int ) {
196
+ for _ in 0 ..< ( N * 25 ) {
197
197
for element in mockFloat64s {
198
198
let f = convert ( exactly: identity ( element) , to: MockFloat32 . self)
199
199
blackHole ( f)
0 commit comments