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

wip: complex example showcasing multiple plugins #624

Closed
wants to merge 1 commit into from

Conversation

n1ru4l
Copy link
Owner

@n1ru4l n1ru4l commented Aug 27, 2021

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Aug 27, 2021

⚠️ No Changeset found

Latest commit: 87b2b1f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Aug 27, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/theguild/envelop/JBDa8DbJHT5zQ8nPEMyC5G5jK6TZ
✅ Preview: https://envelop-git-feat-complex-example-theguild.vercel.app

@theguild-bot
Copy link
Collaborator

theguild-bot commented Aug 27, 2021

The latest changes of this PR are not available as alpha, since there are no linked changesets for this PR.

@theguild-bot
Copy link
Collaborator

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.............................................: 100.00% ✓ 143354      ✗ 0    
     data_received......................................: 552 MB  11 MB/s
     data_sent..........................................: 31 MB   626 kB/s
     envelop_init.......................................: avg=1.61µs   min=400ns    med=900ns    max=5.45ms   p(90)=2.7µs    p(95)=3.1µs   
     ✓ { mode:envelop-cache-jit }.......................: avg=1µs      min=400ns    med=800ns    max=1.22ms   p(90)=1.3µs    p(95)=1.5µs   
     ✓ { mode:envelop-just-cache }......................: avg=1.26µs   min=400ns    med=900ns    max=5.45ms   p(90)=1.2µs    p(95)=1.3µs   
     ✓ { mode:graphql-js }..............................: avg=2µs      min=500ns    med=1.9µs    max=515.81µs p(90)=3µs      p(95)=3.2µs   
     ✓ { mode:prom-tracing }............................: avg=4.88µs   min=1.6µs    med=2.9µs    max=634.11µs p(90)=9.79µs   p(95)=10.4µs  
     envelop_total......................................: avg=310.47µs min=0s       med=129.2µs  max=11.55ms  p(90)=524.91µs p(95)=1.5ms   
     ✓ { mode:envelop-cache-jit }.......................: avg=126.86µs min=90.4µs   med=119.3µs  max=9.63ms   p(90)=141.9µs  p(95)=153.1µs 
     ✓ { mode:envelop-just-cache }......................: avg=365.89µs min=247µs    med=328µs    max=10.73ms  p(90)=375.2µs  p(95)=431.29µs
     ✓ { mode:graphql-js }..............................: avg=518.41µs min=336.1µs  med=441.61µs max=11.55ms  p(90)=555.07µs p(95)=912.98µs
     ✓ { mode:prom-tracing }............................: avg=1.7ms    min=1.26ms   med=1.58ms   max=11.37ms  p(90)=1.92ms   p(95)=2.74ms  
     graphql_context....................................: avg=3.01µs   min=1.1µs    med=2.2µs    max=6.12ms   p(90)=5.1µs    p(95)=6.4µs   
     ✓ { mode:envelop-cache-jit }.......................: avg=1.91µs   min=1.1µs    med=1.7µs    max=1.06ms   p(90)=2.2µs    p(95)=2.5µs   
     ✓ { mode:envelop-just-cache }......................: avg=2.51µs   min=1.4µs    med=2.29µs   max=1.22ms   p(90)=2.8µs    p(95)=2.9µs   
     ✓ { mode:graphql-js }..............................: avg=4.75µs   min=2µs      med=3.5µs    max=6.12ms   p(90)=5µs      p(95)=7.9µs   
     ✓ { mode:prom-tracing }............................: avg=6.69µs   min=4.2µs    med=6µs      max=1.07ms   p(90)=8.3µs    p(95)=9µs     
     graphql_execute....................................: avg=339.05µs min=60.6µs   med=235.3µs  max=11.27ms  p(90)=1.09ms   p(95)=1.49ms  
     ✓ { mode:envelop-cache-jit }.......................: avg=86.83µs  min=60.6µs   med=79.8µs   max=9.54ms   p(90)=95.2µs   p(95)=104.9µs 
     ✓ { mode:envelop-just-cache }......................: avg=322.27µs min=217µs    med=287.9µs  max=10.69ms  p(90)=325.4µs  p(95)=368.39µs
     ✓ { mode:graphql-js }..............................: avg=324.08µs min=220.4µs  med=274.4µs  max=11.25ms  p(90)=332.3µs  p(95)=365.87µs
     ✓ { mode:prom-tracing }............................: avg=1.6ms    min=1.19ms   med=1.49ms   max=11.27ms  p(90)=1.76ms   p(95)=2.64ms  
     graphql_parse......................................: avg=11.48µs  min=3.2µs    med=5.4µs    max=5.52ms   p(90)=30.53µs  p(95)=39.9µs  
     ✓ { mode:envelop-cache-jit }.......................: avg=5.71µs   min=3.4µs    med=5.3µs    max=288.5µs  p(90)=7.3µs    p(95)=8.2µs   
     ✓ { mode:envelop-just-cache }......................: avg=5.53µs   min=3.2µs    med=4.59µs   max=1.46ms   p(90)=5.7µs    p(95)=12.6µs  
     ✓ { mode:graphql-js }..............................: avg=18.87µs  min=7µs      med=12.8µs   max=5.52ms   p(90)=24.2µs   p(95)=30.3µs  
     ✓ { mode:prom-tracing }............................: avg=43.93µs  min=28.29µs  med=39.75µs  max=1.18ms   p(90)=54.2µs   p(95)=63.3µs  
     graphql_validate...................................: avg=56.02µs  min=22.4µs   med=32.4µs   max=8.91ms   p(90)=131.6µs  p(95)=156.01µs
     ✓ { mode:envelop-cache-jit }.......................: avg=31.38µs  min=22.4µs   med=29.9µs   max=1.65ms   p(90)=36.5µs   p(95)=40.9µs  
     ✓ { mode:envelop-just-cache }......................: avg=34.29µs  min=23.1µs   med=31.5µs   max=5.95ms   p(90)=39.2µs   p(95)=45.9µs  
     ✓ { mode:graphql-js }..............................: avg=168.7µs  min=103µs    med=141.3µs  max=8.91ms   p(90)=187.1µs  p(95)=215.34µs
     ✓ { mode:prom-tracing }............................: avg=41.29µs  min=27.8µs   med=37.7µs   max=1.73ms   p(90)=46.83µs  p(95)=51.46µs 
     http_req_blocked...................................: avg=3.44µs   min=600ns    med=1.6µs    max=13.54ms  p(90)=2.4µs    p(95)=3.2µs   
     http_req_connecting................................: avg=937ns    min=0s       med=0s       max=8.38ms   p(90)=0s       p(95)=0s      
     http_req_duration..................................: avg=6.52ms   min=291.1µs  med=4.52ms   max=79.68ms  p(90)=14.78ms  p(95)=17.17ms 
       { expected_response:true }.......................: avg=6.52ms   min=291.1µs  med=4.52ms   max=79.68ms  p(90)=14.78ms  p(95)=17.17ms 
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=5.31ms   min=508.01µs med=4.29ms   max=47.35ms  p(90)=8.85ms   p(95)=10.51ms 
     ✓ { mode:envelop-cache-jit }.......................: avg=3.58ms   min=291.1µs  med=2.49ms   max=38.1ms   p(90)=8.59ms   p(95)=11.48ms 
     ✓ { mode:envelop-just-cache }......................: avg=5.93ms   min=496.41µs med=4.75ms   max=35.9ms   p(90)=9.96ms   p(95)=12.14ms 
     ✓ { mode:graphql-js }..............................: avg=10.68ms  min=732.61µs med=10.44ms  max=60.34ms  p(90)=15.86ms  p(95)=19.6ms  
     ✓ { mode:prom-tracing }............................: avg=18.94ms  min=2.23ms   med=16.84ms  max=79.68ms  p(90)=31.73ms  p(95)=34.36ms 
     http_req_failed....................................: 0.00%   ✓ 0           ✗ 71677
     http_req_receiving.................................: avg=58.01µs  min=13µs     med=26.5µs   max=23.54ms  p(90)=41µs     p(95)=48µs    
     http_req_sending...................................: avg=61.59µs  min=5.1µs    med=10.1µs   max=32.41ms  p(90)=20.6µs   p(95)=28.4µs  
     http_req_tls_handshaking...........................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...................................: avg=6.4ms    min=265.2µs  med=4.45ms   max=79.63ms  p(90)=14.5ms   p(95)=17.04ms 
     http_reqs..........................................: 71677   1433.172129/s
     iteration_duration.................................: avg=6.97ms   min=506.51µs med=4.89ms   max=79.99ms  p(90)=15.33ms  p(95)=17.68ms 
     iterations.........................................: 71677   1433.172129/s
     vus................................................: 10      min=10        max=10 
     vus_max............................................: 40      min=40        max=40 

Copy link
Collaborator

@dotansimha dotansimha left a comment

Choose a reason for hiding this comment

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

Looks great :) I guess just the README is missing? or is there something else?

Also, for the Auth0 plugin, maybe it's a good chance to update the README and make sure it's updated?

@@ -0,0 +1 @@
# TODO
Copy link
Collaborator

Choose a reason for hiding this comment

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

TODO!

Copy link
Owner Author

Choose a reason for hiding this comment

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

Ah it is not done yet

@n1ru4l
Copy link
Owner Author

n1ru4l commented Dec 2, 2021

Gonna close this for now as I am not really sure where I wanted this to go.

@n1ru4l n1ru4l closed this Dec 2, 2021
@n1ru4l n1ru4l deleted the feat-complex-example branch December 2, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants