Skip to content

[sourcekitd-test] A few minor enhancements to support timing requests #16036

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

Merged

Conversation

benlangmuir
Copy link
Contributor

No description provided.

Fixes request printing for format and syntax-map+edit requests.
Allows simple timing of request. Includes only the time to make the
request and receive the reply, but not any additional deserialization
etc.
This provides a very rudimentary way to check the end-to-end performance
of simple sourcekitd requests. A sample invocation might be

```
sourcekitd-test -time-request -repeat-request=10 -dont-print-response -req= ...
```
@benlangmuir
Copy link
Contributor Author

@swift-ci please smoke test

@benlangmuir benlangmuir merged commit fc7db4d into swiftlang:master Apr 19, 2018
@benlangmuir benlangmuir deleted the sourcekitd-test-enhancements branch April 19, 2018 18:49
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

Successfully merging this pull request may close these issues.

1 participant