mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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= ... ```
6 lines
398 B
Swift
6 lines
398 B
Swift
// RUN: %sourcekitd-test -req=version | not %FileCheck %s
|
|
// RUN: %sourcekitd-test -json-request-path %S/Inputs/version_request.json | not %FileCheck %s
|
|
// RUN: %sourcekitd-test -req=version -dont-print-response | %FileCheck %s -allow-empty
|
|
// RUN: %sourcekitd-test -json-request-path %S/Inputs/version_request.json -dont-print-response | %FileCheck %s -allow-empty
|
|
// CHECK-NOT: key.version_major
|