Skip to content
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

feat: tailcall added #210

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 23 additions & 15 deletions benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,20 +143,20 @@
server: Actix Web
run:
cmd: ./target/release/juniper
- id: sangria
name: Sangria
url: https://github.com/sangria-graphql/sangria
lang: Scala
server: Akka HTTP
run:
cmd: java
args:
[
"-Xrs",
"-Xmx4G",
"-jar",
"./target/scala-2.13/sangria-assembly-0.1.0-SNAPSHOT.jar",
]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should we disable sangria?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action

Check this one, it just halts there on sangria

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jgillich could comment on it.

# - id: sangria
# name: Sangria
# url: https://github.com/sangria-graphql/sangria
# lang: Scala
# server: Akka HTTP
# run:
# cmd: java
# args:
# [
# "-Xrs",
# "-Xmx4G",
# "-jar",
# "./target/scala-2.13/sangria-assembly-0.1.0-SNAPSHOT.jar",
# ]
# - id: static-crystal
# name: static-crystal
# url: "https://actix.rs/"
Expand Down Expand Up @@ -200,4 +200,12 @@
server: HonoJS
run:
cmd: bun
args: ["index.js"]
args: ["index.js"]
- id: tailcall
name: tailcall
url: https://github.com/tailcallhq/tailcall
lang: Rust
Dhanus3133 marked this conversation as resolved.
Show resolved Hide resolved
server: Tailcall
run:
cmd: "./tailcall.sh"
args: [""]
7 changes: 7 additions & 0 deletions tailcall/hello.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
schema @server(port: 8000, enableHttpCache: true, enableGraphiql: true) {
Dhanus3133 marked this conversation as resolved.
Show resolved Hide resolved
query: Query
}

type Query {
hello: String! @const(data: "world")
}
4 changes: 4 additions & 0 deletions tailcall/tailcall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#/bin/bash
curl -sSL https://raw.githubusercontent.com/tailcallhq/tailcall/master/install.sh | bash -s
export PATH="$HOME/.tailcall/bin:$PATH"
tc start ./hello.graphql