Skip to content

Commit

Permalink
Merge branch 'main' into hackathon-with-async-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
dekkku committed Sep 12, 2024
2 parents 7f90bd8 + c3ddc59 commit 9d663e2
Show file tree
Hide file tree
Showing 15 changed files with 554 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-baseline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: cargo run --bin generate-baseline

- name: Commit & Push changes
uses: actions-js/push@v1
uses: actions-js/push@v1.5
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: "reference/results"
25 changes: 25 additions & 0 deletions .github/workflows/update-leaderboard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Collect Hackathon Scores

on:
workflow_dispatch:
schedule:
- cron: '0 * * * *' # every hour at 0 minutes

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
leaderboard:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Stable Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run generator
run: cargo run --bin github-collect-leaderboard
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
180 changes: 178 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ command-group = { version = "5.0.1", features = ["with-tokio"] }
diff_logger = "0.1.0"
easy_retry = { version = "0.1.0", features = ["async"] }
mock_json = "0.1.8"
octocrate = { version = "2.0.1", features = ["issues", "pulls"] }
regex = "1.10.6"
reqwest = { version = "0.12.7", features = ["json"] }
serde = "1.0.210"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# 🚀 GraphQL Conf Hackathon 2024
![Banner-logo-yellow-web](https://github.com/user-attachments/assets/bf3404b6-b453-4cf5-a032-30f939b9597e)


1. **Hackathon Details**: [Tailcall's GraphQL Conf Hackathon 2024](https://tailcall.run/graphql/graphql-conf-hackathon-2024/)
2. **Discord**: [Join Tailcall on Discord](https://discord.gg/GJHMeZup8m)
3. **X (formerly Twitter)**: [Tailcall on X](https://x.com/tailcallhq)
4. [**Contribution Guidelines**](https://tailcall.run/graphql/graphql-conf-hackathon-2024#endpoints)
1. [Hackathon Details: Tailcall's GraphQL Conf Hackathon 2024](https://tailcall.run/graphql/graphql-conf-hackathon-2024/)
2. [Join Tailcall on Discord](https://discord.gg/GJHMeZup8m)
3. [Tailcall on X (formerly Twitter)](https://x.com/tailcallhq)
4. [Contribution Guidelines](https://tailcall.run/graphql/graphql-conf-hackathon-2024#endpoints)

For any feedback, feel free to open an issue or connect with us on Discord.

10 changes: 5 additions & 5 deletions reference/results/posts-nested.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Running 30s test @ http://localhost:8000/graphql
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 16.64ms 1.30ms 25.96ms 69.95%
Req/Sec 1.51k 66.44 1.77k 84.42%
180225 requests in 30.03s, 0.89GB read
Requests/sec: 6002.49
Transfer/sec: 30.51MB
Latency 16.80ms 1.24ms 24.85ms 68.46%
Req/Sec 1.49k 55.16 1.72k 85.92%
178637 requests in 30.03s, 0.85GB read
Requests/sec: 5948.86
Transfer/sec: 29.11MB
10 changes: 5 additions & 5 deletions reference/results/posts-title.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Running 30s test @ http://localhost:8000/graphql
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 8.42ms 1.10ms 16.10ms 65.84%
Req/Sec 2.98k 113.36 3.28k 73.17%
356223 requests in 30.02s, 384.90MB read
Requests/sec: 11864.33
Transfer/sec: 12.82MB
Latency 8.59ms 1.08ms 13.85ms 67.30%
Req/Sec 2.92k 115.06 3.21k 66.00%
349025 requests in 30.03s, 385.78MB read
Requests/sec: 11624.13
Transfer/sec: 12.85MB
10 changes: 5 additions & 5 deletions reference/results/posts-with-user.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Running 30s test @ http://localhost:8000/graphql
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 16.62ms 1.64ms 32.78ms 79.28%
Req/Sec 1.51k 91.68 1.77k 82.67%
180548 requests in 30.03s, 0.90GB read
Requests/sec: 6011.30
Transfer/sec: 30.56MB
Latency 16.73ms 1.12ms 24.00ms 69.74%
Req/Sec 1.50k 44.97 1.74k 87.42%
179300 requests in 30.03s, 0.86GB read
Requests/sec: 5971.65
Transfer/sec: 29.22MB
1 change: 1 addition & 0 deletions reference/results/score.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
987
Loading

0 comments on commit 9d663e2

Please sign in to comment.