tailcallhq / tailcall

High Performance GraphQL Runtime
https://tailcall.run
Apache License 2.0
1.28k stars 244 forks source link

chore: add data tests for config generator #2247

Closed laststylebender14 closed 3 months ago

laststylebender14 commented 3 months ago

Summary:

  1. added setup for config generator.
  2. store the api responses in .cache folder.

Issue Reference(s):
Fixes #... (Replace "..." with the issue number)

Build & Testing:

Checklist:

github-actions[bot] commented 3 months ago

🐰Bencher

ReportSun, June 23, 2024 at 08:28:33 UTC
Projecttailcall
Branch2247/merge
Testbedbenchmarking-runner
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
from_json_bench✅ (view plot)7,142,700.00 (+0.25%)7,258,488.17 (98.40%)
group_by✅ (view plot)528.98 (-7.23%)638.53 (82.84%)
input/args.missing✅ (view plot)26.12 (+8.28%)27.41 (95.28%)
input/args.nested.existing✅ (view plot)55.38 (+15.81%)62.34 (88.84%)
input/args.nested.missing✅ (view plot)38.72 (+1.56%)40.95 (94.55%)
input/args.root✅ (view plot)50.99 (+15.27%)59.49 (85.72%)
input/headers.existing✅ (view plot)30.47 (-3.68%)33.78 (90.19%)
input/headers.missing✅ (view plot)29.37 (-4.39%)33.61 (87.39%)
input/value.missing✅ (view plot)23.16 (-1.22%)25.00 (92.65%)
input/value.nested.existing✅ (view plot)41.66 (+0.22%)45.08 (92.41%)
input/value.nested.missing✅ (view plot)36.63 (+0.09%)38.67 (94.73%)
input/value.root✅ (view plot)35.92 (-5.75%)41.63 (86.29%)
input/vars.existing✅ (view plot)7.82 (+0.32%)8.73 (89.62%)
input/vars.missing✅ (view plot)10.80 (+10.73%)13.13 (82.28%)
synth_nested✅ (view plot)20,871.00 (-1.02%)22,694.14 (91.97%)
test_batched_body✅ (view plot)2,621.30 (-99.30%)1,840,511.47 (0.14%)
test_batched_body #2✅ (view plot)1,618,700.00 (-4.91%)1,826,763.43 (88.61%)
test_data_loader✅ (view plot)471,140.00 (+0.41%)486,112.73 (96.92%)
test_handle_request✅ (view plot)155,500.00 (-0.58%)172,465.91 (90.16%)
test_http_execute_method✅ (view plot)17,389.00 (-4.49%)19,300.05 (90.10%)
with_mustache_expressions✅ (view plot)1,219.20 (+4.49%)1,231.28 (99.02%)
with_mustache_literal✅ (view plot)720.06 (-0.14%)775.01 (92.91%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 67.44186% with 14 lines in your changes missing coverage. Please review.

Project coverage is 86.26%. Comparing base (8a7dd73) to head (09aca80). Report is 3 commits behind head on main.

Files Patch % Lines
src/cli/generator/generator.rs 60.60% 13 Missing :warning:
src/core/generator/generator.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2247 +/- ## ========================================== + Coverage 85.74% 86.26% +0.52% ========================================== Files 219 223 +4 Lines 21022 21354 +332 ========================================== + Hits 18025 18421 +396 + Misses 2997 2933 -64 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

laststylebender14 commented 3 months ago

closing this as it contains too many irrelevant changes.