-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instruments vs Xcode #113
Comments
I'm hoping Instruments is correct on this one, not so much because it's faster, but because the xctestplan measurements make pointers seem unusable. Like, single digit addition (pointer-based) appears somewhat faster than full-width addition with Instruments' time profiler, but 2x slower with Xcode's xctestplan. |
I found this comment from at developer.apple.com:
|
Hm, the mystery is solved. I find it strange, however, that it was enabled by default. I've not had that problem before. |
As noticed in (#109), the measurements of Instruments' time profiler and Xcode's xctestplan are completely different. It's frustrating, because I cannot use the former to see why the latter takes so long. Ideally, I would just measure some real-world use case, but I haven't gotten around to replacing my arbitrary precision solution yet. As an example, the following takes 8.18 seconds with Instruments' time profiler but 54.5 seconds with Xcode's xctestplan:
Edit: I'm aware that this is an overflowing example. It mirrors Swift's standard semantics:
The text was updated successfully, but these errors were encountered: