mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Allows simple timing of request. Includes only the time to make the request and receive the reply, but not any additional deserialization etc.
5 lines
253 B
Swift
5 lines
253 B
Swift
// RUN: %sourcekitd-test -time-request -req=version 2>&1 | %FileCheck %s
|
|
// RUN: %sourcekitd-test -time-request -json-request-path %S/Inputs/version_request.json 2>&1 | %FileCheck %s
|
|
// CHECK-DAG: key.version_major
|
|
// CHECK-DAG: request time: {{.*}} ms
|