Skip to content
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

> 8% overall wall time spent for simple HTTP request on NSURL initialisation & related things #755

Open
weissi opened this issue Jul 23, 2024 · 0 comments

Comments

@weissi
Copy link
Contributor

weissi commented Jul 23, 2024

NSURL initialisation seems to use up about 7% wall time of an overall basic but real HTTP request (over loopback with a fast server), even for basic URLs like http://127.0.0.1:8888/.

This seems pretty steep. The flame graph in the screenshot is 15% of the wall time. ~half of that (the 8%) are just URL.init(string:)

Screenshot 2024-07-23 at 12 14 32 pm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant