You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time (mean ± σ): 534.0 ms ± 15.6 ms [User: 483.7 ms, System: 37.7 ms]
Range (min … max): 518.4 ms … 565.7 ms 10 runs
NestedExplicitInit:
Time (mean ± σ): 1.594 s ± 0.023 s [User: 1.550 s, System: 0.029 s]
Range (min … max): 1.568 s … 1.644 s 10 runs
The text was updated successfully, but these errors were encountered:
saeed-rz
changed the title
I obtained slightly different results.
I obtained slightly different results on NestedBareInit and NestedExplicitInit
Dec 31, 2023
I'm a bit surprised that you get significantly less ms on NestedBareInit, but NestedExplicitInit takes the double, while all optimizations have been applied on both tests
How did I test it:
swiftc -typecheck {file}
command.import Foundation
( it was not necessary)base
to my test file, ( to avoid any other effects on compile time)Here is NestedBareInit after changes:
NestedExplicitInit.swift:
Command to test:
Results:
NestedBareInit:
NestedExplicitInit:
The text was updated successfully, but these errors were encountered: