Skip to content

Commit

Permalink
feat: add support for separate runtime config in json & yaml formats (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
meskill authored Dec 13, 2024
1 parent 316254c commit 76fc565
Show file tree
Hide file tree
Showing 9 changed files with 313 additions and 663 deletions.
12 changes: 12 additions & 0 deletions examples/jsonplaceholder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# yaml-language-server: $schema=../generated/.tailcallrc.schema.json

server:
port: 8000

upstream:
batch:
delay: 100
httpCache: 42

links:
- src: ./jsonplaceholder.graphql
Loading

1 comment on commit 76fc565

@github-actions
Copy link

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

Thread Stats Avg Stdev Max +/- Stdev
Latency 4.19ms 2.47ms 54.81ms 88.32%
Req/Sec 6.25k 0.93k 9.22k 94.58%

746763 requests in 30.02s, 3.74GB read

Requests/sec: 24875.33

Transfer/sec: 127.68MB

Please sign in to comment.