-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use a consistent prefix for auto-generated names (#2783)
Co-authored-by: Tushar Mathur <[email protected]>
- Loading branch information
1 parent
2cf0f58
commit 7144fd3
Showing
44 changed files
with
614 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
inputs: | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/posts/1" | ||
headers: | ||
Content-Type: application/json | ||
Accept: application/json | ||
fieldName: post | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/users/1" | ||
fieldName: user | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/users" | ||
fieldName: users | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/posts" | ||
fieldName: posts | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/comments" | ||
fieldName: comments | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/comments/1" | ||
fieldName: comment | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/photos" | ||
fieldName: photos | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/photos/1" | ||
fieldName: photo | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/todos" | ||
fieldName: todos | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/todos/1" | ||
fieldName: todo | ||
- curl: | ||
src: "https://jsonplaceholder.typicode.com/comments?postId=1" | ||
fieldName: postComments | ||
preset: | ||
mergeType: 1 | ||
consolidateURL: 0.5 | ||
treeShake: true | ||
inferTypeNames: true | ||
output: | ||
path: "./jsonplaceholder.graphql" | ||
format: graphQL | ||
schema: | ||
query: Query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7144fd3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running 30s test @ http://localhost:8000/graphql
4 threads and 100 connections
264253 requests in 30.04s, 1.32GB read
Requests/sec: 8796.09
Transfer/sec: 45.15MB