Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save transitive-bullshit/d37cb5885f36b6ec0a166742af646cfd to your computer and use it in GitHub Desktop.
Save transitive-bullshit/d37cb5885f36b6ec0a166742af646cfd to your computer and use it in GitHub Desktop.
master* in ~/dev/saasify/temp/gcp-test $ yarn why @grpc/grpc-js
yarn why v1.22.0
[1/4] 🤔 Why do we have the module "@grpc/grpc-js"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "@grpc/grpc-js@0.7.4"
info Has been hoisted to "@grpc/grpc-js"
info This module exists because it's specified in "dependencies".
info Disk size without dependencies: "1.21MB"
info Disk size with unique dependencies: "1.3MB"
info Disk size with transitive dependencies: "1.3MB"
info Number of shared dependencies: 1
=> Found "google-gax#@grpc/grpc-js@0.6.18"
info This module exists because "@google-cloud#firestore#google-gax" depends on it.
info Disk size without dependencies: "1.08MB"
info Disk size with unique dependencies: "1.17MB"
info Disk size with transitive dependencies: "1.17MB"
info Number of shared dependencies: 1
✨ Done in 0.24s.
GRPC_TRACE=all GRPC_VERBOSITY=DEBUG node benchmark-multiple-gets.js
using gRPC via @google-cloud/firestore
2020-03-27T19:30:24.071Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> IDLE
2020-03-27T19:30:24.071Z | connectivity_state | firestore.googleapis.com:443 IDLE -> IDLE
2020-03-27T19:30:24.071Z | dns_resolver | Resolver constructed for target firestore.googleapis.com:443
2020-03-27T19:30:24.075Z | channel | firestore.googleapis.com:443 createCall [0] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:35:24 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:30:24.077Z | call_stream | [0] Sending metadata
2020-03-27T19:30:24.077Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:24.077Z | call_stream | [0] write() called with message of length 117
2020-03-27T19:30:24.079Z | call_stream | [0] deferring writing data chunk of length 122
2020-03-27T19:30:24.079Z | dns_resolver | Resolution update requested for target firestore.googleapis.com:443
2020-03-27T19:30:24.081Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:30:24.081Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:24.081Z | connectivity_state | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:30:24.081Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:24.082Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:24.082Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:34.127Z | dns_resolver | Resolved addresses for target firestore.googleapis.com:443: [172.217.10.10:443,2607:f8b0:4006:812::200a:443]
2020-03-27T19:30:34.128Z | pick_first | IDLE -> IDLE
2020-03-27T19:30:34.128Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> IDLE
2020-03-27T19:30:34.129Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:34.129Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> IDLE
2020-03-27T19:30:34.129Z | pick_first | Connect to address list 172.217.10.10:443,2607:f8b0:4006:812::200a:443
2020-03-27T19:30:34.130Z | subchannel | 172.217.10.10:443 refcount 0 -> 1
2020-03-27T19:30:34.130Z | subchannel | 2607:f8b0:4006:812::200a:443 refcount 0 -> 1
2020-03-27T19:30:34.130Z | subchannel | 172.217.10.10:443 refcount 1 -> 2
2020-03-27T19:30:34.130Z | subchannel | 2607:f8b0:4006:812::200a:443 refcount 1 -> 2
2020-03-27T19:30:34.130Z | pick_first | Start connecting to subchannel with address 172.217.10.10:443
2020-03-27T19:30:34.130Z | pick_first | IDLE -> CONNECTING
2020-03-27T19:30:34.130Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:30:34.130Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:34.131Z | connectivity_state | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:30:34.131Z | subchannel | 172.217.10.10:443 IDLE -> CONNECTING
2020-03-27T19:30:34.134Z | pick_first | CONNECTING -> CONNECTING
2020-03-27T19:30:34.134Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:34.134Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:34.135Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:34.135Z | subchannel | 2607:f8b0:4006:812::200a:443 IDLE -> CONNECTING
2020-03-27T19:30:34.135Z | pick_first | CONNECTING -> CONNECTING
2020-03-27T19:30:34.135Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:34.135Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:30:34.135Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:30:34.288Z | subchannel | 172.217.10.10:443 CONNECTING -> READY
2020-03-27T19:30:34.288Z | pick_first | Pick subchannel with address 172.217.10.10:443
2020-03-27T19:30:34.288Z | pick_first | CONNECTING -> READY
2020-03-27T19:30:34.288Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> READY
2020-03-27T19:30:34.288Z | channel | Pick result: COMPLETE subchannel: 172.217.10.10:443 status: undefined undefined
2020-03-27T19:30:34.299Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> READY
2020-03-27T19:30:34.299Z | subchannel | 172.217.10.10:443 refcount 2 -> 3
2020-03-27T19:30:34.299Z | subchannel | 172.217.10.10:443 refcount 3 -> 2
2020-03-27T19:30:34.299Z | subchannel | 2607:f8b0:4006:812::200a:443 refcount 2 -> 1
2020-03-27T19:30:34.301Z | subchannel | 2607:f8b0:4006:812::200a:443 CONNECTING -> READY
2020-03-27T19:30:34.579Z | call_stream | [0] attachHttp2Stream from subchannel 172.217.10.10:443
2020-03-27T19:30:34.579Z | subchannel | 172.217.10.10:443 callRefcount 0 -> 1
2020-03-27T19:30:34.580Z | call_stream | [0] sending data chunk of length 122 (deferred)
2020-03-27T19:30:34.580Z | call_stream | [0] end() called
2020-03-27T19:30:34.580Z | call_stream | [0] calling end() on HTTP/2 stream
2020-03-27T19:30:34.748Z | call_stream | [0] received HTTP/2 headers frame
2020-03-27T19:30:34.750Z | call_stream | [0] receive HTTP/2 data frame of length 367
2020-03-27T19:30:34.751Z | call_stream | [0] parsed message of length 367
2020-03-27T19:30:34.751Z | call_stream | [0] filterReceivedMessage of length 367
2020-03-27T19:30:34.751Z | call_stream | [0] pushing to reader message of length 362
2020-03-27T19:30:34.762Z | call_stream | [0] received HTTP/2 trailing headers frame
2020-03-27T19:30:34.763Z | call_stream | [0] received HTTP/2 end of data flag
2020-03-27T19:30:34.763Z | call_stream | [0] pushing to reader message of length null
2020-03-27T19:30:34.763Z | call_stream | [0] ended with status: code=0 details=""
2020-03-27T19:30:34.763Z | subchannel | 172.217.10.10:443 callRefcount 1 -> 0
DaubZexsvlUE7beXCOEd: 10.820s
{
url: 'https://saasify.sh',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET',
name: 'test0',
httpHeaders: {},
userId: '5e7ae88a3720c1003cebcd0b',
tags: [],
description: ''
}
2020-03-27T19:30:34.769Z | call_stream | [0] HTTP/2 stream closed with code 8
2020-03-27T19:30:34.769Z | channel | firestore.googleapis.com:443 createCall [1] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:35:34 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:30:34.769Z | call_stream | [1] Sending metadata
2020-03-27T19:30:34.769Z | channel | Pick result: COMPLETE subchannel: 172.217.10.10:443 status: undefined undefined
2020-03-27T19:30:34.770Z | call_stream | [1] write() called with message of length 117
2020-03-27T19:30:34.770Z | call_stream | [1] deferring writing data chunk of length 122
2020-03-27T19:30:34.770Z | call_stream | [1] attachHttp2Stream from subchannel 172.217.10.10:443
2020-03-27T19:30:34.770Z | subchannel | 172.217.10.10:443 callRefcount 0 -> 1
2020-03-27T19:30:34.770Z | call_stream | [1] sending data chunk of length 122 (deferred)
2020-03-27T19:30:34.771Z | call_stream | [1] end() called
2020-03-27T19:30:34.771Z | call_stream | [1] calling end() on HTTP/2 stream
2020-03-27T19:30:34.913Z | call_stream | [1] received HTTP/2 headers frame
2020-03-27T19:30:34.914Z | call_stream | [1] receive HTTP/2 data frame of length 379
2020-03-27T19:30:34.914Z | call_stream | [1] parsed message of length 379
2020-03-27T19:30:34.914Z | call_stream | [1] filterReceivedMessage of length 379
2020-03-27T19:30:34.915Z | call_stream | [1] pushing to reader message of length 374
2020-03-27T19:30:34.916Z | call_stream | [1] received HTTP/2 trailing headers frame
2020-03-27T19:30:34.916Z | call_stream | [1] received HTTP/2 end of data flag
2020-03-27T19:30:34.916Z | call_stream | [1] pushing to reader message of length null
2020-03-27T19:30:34.916Z | call_stream | [1] ended with status: code=0 details=""
2020-03-27T19:30:34.916Z | subchannel | 172.217.10.10:443 callRefcount 1 -> 0
M5G2MBgoPUv4Ur1K7Zu0: 148.642ms
{
url: 'https://saasify.sh',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET',
name: 'simple cron test',
httpHeaders: {},
userId: '5e7aa4e477a4d81ed8eecd4d',
tags: [],
description: ''
}
2020-03-27T19:30:34.917Z | call_stream | [1] HTTP/2 stream closed with code 8
2020-03-27T19:30:34.918Z | channel | firestore.googleapis.com:443 createCall [2] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:35:34 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:30:34.918Z | call_stream | [2] Sending metadata
2020-03-27T19:30:34.918Z | channel | Pick result: COMPLETE subchannel: 172.217.10.10:443 status: undefined undefined
2020-03-27T19:30:34.918Z | call_stream | [2] write() called with message of length 117
2020-03-27T19:30:34.918Z | call_stream | [2] deferring writing data chunk of length 122
2020-03-27T19:30:34.919Z | call_stream | [2] attachHttp2Stream from subchannel 172.217.10.10:443
2020-03-27T19:30:34.919Z | subchannel | 172.217.10.10:443 callRefcount 0 -> 1
2020-03-27T19:30:34.919Z | call_stream | [2] sending data chunk of length 122 (deferred)
2020-03-27T19:30:34.919Z | call_stream | [2] end() called
2020-03-27T19:30:34.919Z | call_stream | [2] calling end() on HTTP/2 stream
2020-03-27T19:30:35.089Z | call_stream | [2] received HTTP/2 headers frame
2020-03-27T19:30:35.090Z | call_stream | [2] receive HTTP/2 data frame of length 391
2020-03-27T19:30:35.090Z | call_stream | [2] parsed message of length 391
2020-03-27T19:30:35.090Z | call_stream | [2] filterReceivedMessage of length 391
2020-03-27T19:30:35.090Z | call_stream | [2] pushing to reader message of length 386
2020-03-27T19:30:35.091Z | call_stream | [2] received HTTP/2 trailing headers frame
2020-03-27T19:30:35.091Z | call_stream | [2] received HTTP/2 end of data flag
2020-03-27T19:30:35.091Z | call_stream | [2] pushing to reader message of length null
2020-03-27T19:30:35.091Z | call_stream | [2] ended with status: code=0 details=""
2020-03-27T19:30:35.091Z | subchannel | 172.217.10.10:443 callRefcount 1 -> 0
OK7ZMTiLCNCbbcf4euWe: 174.96ms
{
description: '',
url: 'https://puppet-master.sh/',
timezone: 'America/New_York',
state: 'enabled',
schedule: '*/5 * * * *',
httpMethod: 'GET',
name: 'simple cron test 2',
httpHeaders: {},
userId: '5e7aa4e477a4d81ed8eecd4d',
tags: []
}
2020-03-27T19:30:35.092Z | call_stream | [2] HTTP/2 stream closed with code 8
2020-03-27T19:30:35.095Z | channel | firestore.googleapis.com:443 createCall [3] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:35:35 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:30:35.095Z | call_stream | [3] Sending metadata
2020-03-27T19:30:35.095Z | channel | Pick result: COMPLETE subchannel: 172.217.10.10:443 status: undefined undefined
2020-03-27T19:30:35.095Z | call_stream | [3] write() called with message of length 117
2020-03-27T19:30:35.096Z | call_stream | [3] deferring writing data chunk of length 122
2020-03-27T19:30:35.096Z | call_stream | [3] attachHttp2Stream from subchannel 172.217.10.10:443
2020-03-27T19:30:35.096Z | subchannel | 172.217.10.10:443 callRefcount 0 -> 1
2020-03-27T19:30:35.096Z | call_stream | [3] sending data chunk of length 122 (deferred)
2020-03-27T19:30:35.096Z | call_stream | [3] end() called
2020-03-27T19:30:35.097Z | call_stream | [3] calling end() on HTTP/2 stream
2020-03-27T19:30:35.210Z | call_stream | [3] received HTTP/2 headers frame
2020-03-27T19:30:35.210Z | call_stream | [3] receive HTTP/2 data frame of length 392
2020-03-27T19:30:35.211Z | call_stream | [3] parsed message of length 392
2020-03-27T19:30:35.211Z | call_stream | [3] filterReceivedMessage of length 392
2020-03-27T19:30:35.211Z | call_stream | [3] pushing to reader message of length 387
2020-03-27T19:30:35.212Z | call_stream | [3] received HTTP/2 trailing headers frame
2020-03-27T19:30:35.212Z | call_stream | [3] received HTTP/2 end of data flag
2020-03-27T19:30:35.212Z | call_stream | [3] pushing to reader message of length null
2020-03-27T19:30:35.213Z | call_stream | [3] ended with status: code=0 details=""
2020-03-27T19:30:35.213Z | subchannel | 172.217.10.10:443 callRefcount 1 -> 0
ncQYovHShkRWfIyVKZSy: 120.827ms
{
url: 'https://ssfy.sh/dev/hello-world?name=test2',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET',
name: 'test2',
httpHeaders: {},
userId: '5e766a8359bf49e6a55ce9ac',
tags: [],
description: ''
}
main: 11.267s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment