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/615fdc8c81a19da94017566c16c4d064 to your computer and use it in GitHub Desktop.
Save transitive-bullshit/615fdc8c81a19da94017566c16c4d064 to your computer and use it in GitHub Desktop.
GRPC_TRACE=all GRPC_VERBOSITY=DEBUG node benchmark-multiple-gets.js
using gRPC via @google-cloud/firestore
2020-03-27T19:51:39.594Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> IDLE
2020-03-27T19:51:39.594Z | connectivity_state | firestore.googleapis.com:443 IDLE -> IDLE
2020-03-27T19:51:39.595Z | dns_resolver | Resolver constructed for target firestore.googleapis.com:443
2020-03-27T19:51:39.598Z | channel | firestore.googleapis.com:443 createCall [0] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:56:39 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:51:39.599Z | call_stream | [0] Sending metadata
2020-03-27T19:51:39.599Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.600Z | call_stream | [0] write() called with message of length 117
2020-03-27T19:51:39.601Z | call_stream | [0] end() called
2020-03-27T19:51:39.602Z | call_stream | [0] deferring writing data chunk of length 122
2020-03-27T19:51:39.602Z | dns_resolver | Resolution update requested for target firestore.googleapis.com:443
2020-03-27T19:51:39.604Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:51:39.604Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.604Z | connectivity_state | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:51:39.604Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.604Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.604Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.638Z | dns_resolver | Resolved addresses for target firestore.googleapis.com:443: [2607:f8b0:4006:81b::200a:443,172.217.12.138:443]
2020-03-27T19:51:39.638Z | pick_first | IDLE -> IDLE
2020-03-27T19:51:39.638Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> IDLE
2020-03-27T19:51:39.638Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.638Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> IDLE
2020-03-27T19:51:39.639Z | pick_first | Connect to address list 2607:f8b0:4006:81b::200a:443,172.217.12.138:443
2020-03-27T19:51:39.639Z | subchannel | 2607:f8b0:4006:81b::200a:443 refcount 0 -> 1
2020-03-27T19:51:39.640Z | subchannel | 172.217.12.138:443 refcount 0 -> 1
2020-03-27T19:51:39.640Z | subchannel | 2607:f8b0:4006:81b::200a:443 refcount 1 -> 2
2020-03-27T19:51:39.640Z | subchannel | 172.217.12.138:443 refcount 1 -> 2
2020-03-27T19:51:39.640Z | pick_first | Start connecting to subchannel with address 2607:f8b0:4006:81b::200a:443
2020-03-27T19:51:39.640Z | pick_first | IDLE -> CONNECTING
2020-03-27T19:51:39.640Z | resolving_load_balancer | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:51:39.640Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.640Z | connectivity_state | firestore.googleapis.com:443 IDLE -> CONNECTING
2020-03-27T19:51:39.641Z | subchannel | 2607:f8b0:4006:81b::200a:443 IDLE -> CONNECTING
2020-03-27T19:51:39.645Z | pick_first | CONNECTING -> CONNECTING
2020-03-27T19:51:39.645Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.645Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.645Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.645Z | subchannel | 172.217.12.138:443 IDLE -> CONNECTING
2020-03-27T19:51:39.645Z | pick_first | CONNECTING -> CONNECTING
2020-03-27T19:51:39.645Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.645Z | channel | Pick result: QUEUE subchannel: undefined status: undefined undefined
2020-03-27T19:51:39.645Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> CONNECTING
2020-03-27T19:51:39.696Z | subchannel | 172.217.12.138:443 CONNECTING -> READY
2020-03-27T19:51:39.697Z | pick_first | Pick subchannel with address 172.217.12.138:443
2020-03-27T19:51:39.697Z | pick_first | CONNECTING -> READY
2020-03-27T19:51:39.697Z | resolving_load_balancer | firestore.googleapis.com:443 CONNECTING -> READY
2020-03-27T19:51:39.697Z | channel | Pick result: COMPLETE subchannel: 172.217.12.138:443 status: undefined undefined
2020-03-27T19:51:39.708Z | connectivity_state | firestore.googleapis.com:443 CONNECTING -> READY
2020-03-27T19:51:39.708Z | subchannel | 172.217.12.138:443 refcount 2 -> 3
2020-03-27T19:51:39.708Z | subchannel | 2607:f8b0:4006:81b::200a:443 refcount 2 -> 1
2020-03-27T19:51:39.708Z | subchannel | 172.217.12.138:443 refcount 3 -> 2
2020-03-27T19:51:39.711Z | subchannel | 2607:f8b0:4006:81b::200a:443 CONNECTING -> READY
2020-03-27T19:51:39.864Z | call_stream | [0] attachHttp2Stream from subchannel 172.217.12.138:443
2020-03-27T19:51:39.864Z | subchannel | 172.217.12.138:443 callRefcount 0 -> 1
2020-03-27T19:51:39.865Z | call_stream | [0] sending data chunk of length 122 (deferred)
2020-03-27T19:51:39.865Z | call_stream | [0] calling end() on HTTP/2 stream
2020-03-27T19:51:39.987Z | call_stream | [0] received HTTP/2 headers frame
2020-03-27T19:51:39.988Z | call_stream | [0] receive HTTP/2 data frame of length 366
2020-03-27T19:51:39.989Z | call_stream | [0] parsed message of length 366
2020-03-27T19:51:39.989Z | call_stream | [0] filterReceivedMessage of length 366
2020-03-27T19:51:39.989Z | call_stream | [0] pushing to reader message of length 361
2020-03-27T19:51:39.999Z | call_stream | [0] received HTTP/2 trailing headers frame
2020-03-27T19:51:40.000Z | call_stream | [0] ended with status: code=0 details=""
2020-03-27T19:51:40.001Z | subchannel | 172.217.12.138:443 callRefcount 1 -> 0
DaubZexsvlUE7beXCOEd: 533.642ms
{
tags: [],
description: '',
url: 'https://saasify.sh',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET',
name: 'test0',
httpHeaders: {},
userId: '5e7ae88a3720c1003cebcd0b'
}
2020-03-27T19:51:40.006Z | call_stream | [0] HTTP/2 stream closed with code 8
2020-03-27T19:51:40.007Z | channel | firestore.googleapis.com:443 createCall [1] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:56:40 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:51:40.007Z | call_stream | [1] Sending metadata
2020-03-27T19:51:40.007Z | channel | Pick result: COMPLETE subchannel: 172.217.12.138:443 status: undefined undefined
2020-03-27T19:51:40.007Z | call_stream | [1] write() called with message of length 117
2020-03-27T19:51:40.007Z | call_stream | [1] end() called
2020-03-27T19:51:40.007Z | call_stream | [1] deferring writing data chunk of length 122
2020-03-27T19:51:40.007Z | call_stream | [1] attachHttp2Stream from subchannel 172.217.12.138:443
2020-03-27T19:51:40.007Z | subchannel | 172.217.12.138:443 callRefcount 0 -> 1
2020-03-27T19:51:40.008Z | call_stream | [1] sending data chunk of length 122 (deferred)
2020-03-27T19:51:40.008Z | call_stream | [1] calling end() on HTTP/2 stream
2020-03-27T19:51:40.092Z | call_stream | [1] received HTTP/2 headers frame
2020-03-27T19:51:40.093Z | call_stream | [1] receive HTTP/2 data frame of length 380
2020-03-27T19:51:40.093Z | call_stream | [1] parsed message of length 380
2020-03-27T19:51:40.093Z | call_stream | [1] filterReceivedMessage of length 380
2020-03-27T19:51:40.093Z | call_stream | [1] pushing to reader message of length 375
2020-03-27T19:51:40.094Z | call_stream | [1] received HTTP/2 trailing headers frame
2020-03-27T19:51:40.094Z | call_stream | [1] ended with status: code=0 details=""
2020-03-27T19:51:40.094Z | subchannel | 172.217.12.138:443 callRefcount 1 -> 0
M5G2MBgoPUv4Ur1K7Zu0: 89.559ms
{
description: '',
url: 'https://saasify.sh',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET',
name: 'simple cron test',
httpHeaders: {},
userId: '5e7aa4e477a4d81ed8eecd4d',
tags: []
}
2020-03-27T19:51:40.095Z | call_stream | [1] HTTP/2 stream closed with code 8
2020-03-27T19:51:40.096Z | channel | firestore.googleapis.com:443 createCall [2] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:56:40 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:51:40.096Z | call_stream | [2] Sending metadata
2020-03-27T19:51:40.096Z | channel | Pick result: COMPLETE subchannel: 172.217.12.138:443 status: undefined undefined
2020-03-27T19:51:40.096Z | call_stream | [2] write() called with message of length 117
2020-03-27T19:51:40.096Z | call_stream | [2] end() called
2020-03-27T19:51:40.097Z | call_stream | [2] deferring writing data chunk of length 122
2020-03-27T19:51:40.097Z | call_stream | [2] attachHttp2Stream from subchannel 172.217.12.138:443
2020-03-27T19:51:40.097Z | subchannel | 172.217.12.138:443 callRefcount 0 -> 1
2020-03-27T19:51:40.097Z | call_stream | [2] sending data chunk of length 122 (deferred)
2020-03-27T19:51:40.097Z | call_stream | [2] calling end() on HTTP/2 stream
2020-03-27T19:51:40.216Z | call_stream | [2] received HTTP/2 headers frame
2020-03-27T19:51:40.217Z | call_stream | [2] receive HTTP/2 data frame of length 391
2020-03-27T19:51:40.217Z | call_stream | [2] parsed message of length 391
2020-03-27T19:51:40.217Z | call_stream | [2] filterReceivedMessage of length 391
2020-03-27T19:51:40.217Z | call_stream | [2] pushing to reader message of length 386
2020-03-27T19:51:40.218Z | call_stream | [2] received HTTP/2 trailing headers frame
2020-03-27T19:51:40.218Z | call_stream | [2] ended with status: code=0 details=""
2020-03-27T19:51:40.218Z | subchannel | 172.217.12.138:443 callRefcount 1 -> 0
OK7ZMTiLCNCbbcf4euWe: 123.602ms
{
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:51:40.219Z | call_stream | [2] HTTP/2 stream closed with code 8
2020-03-27T19:51:40.222Z | channel | firestore.googleapis.com:443 createCall [3] method="/google.firestore.v1.Firestore/BatchGetDocuments", deadline=Fri Mar 27 2020 15:56:40 GMT-0400 (Eastern Daylight Time)
2020-03-27T19:51:40.222Z | call_stream | [3] Sending metadata
2020-03-27T19:51:40.222Z | channel | Pick result: COMPLETE subchannel: 172.217.12.138:443 status: undefined undefined
2020-03-27T19:51:40.222Z | call_stream | [3] write() called with message of length 117
2020-03-27T19:51:40.222Z | call_stream | [3] end() called
2020-03-27T19:51:40.222Z | call_stream | [3] deferring writing data chunk of length 122
2020-03-27T19:51:40.223Z | call_stream | [3] attachHttp2Stream from subchannel 172.217.12.138:443
2020-03-27T19:51:40.223Z | subchannel | 172.217.12.138:443 callRefcount 0 -> 1
2020-03-27T19:51:40.223Z | call_stream | [3] sending data chunk of length 122 (deferred)
2020-03-27T19:51:40.223Z | call_stream | [3] calling end() on HTTP/2 stream
2020-03-27T19:51:40.320Z | call_stream | [3] received HTTP/2 headers frame
2020-03-27T19:51:40.321Z | call_stream | [3] receive HTTP/2 data frame of length 392
2020-03-27T19:51:40.321Z | call_stream | [3] parsed message of length 392
2020-03-27T19:51:40.321Z | call_stream | [3] filterReceivedMessage of length 392
2020-03-27T19:51:40.321Z | call_stream | [3] pushing to reader message of length 387
2020-03-27T19:51:40.322Z | call_stream | [3] received HTTP/2 trailing headers frame
2020-03-27T19:51:40.322Z | call_stream | [3] ended with status: code=0 details=""
2020-03-27T19:51:40.322Z | subchannel | 172.217.12.138:443 callRefcount 1 -> 0
ncQYovHShkRWfIyVKZSy: 103.651ms
{
name: 'test2',
httpHeaders: {},
userId: '5e766a8359bf49e6a55ce9ac',
tags: [],
description: '',
url: 'https://ssfy.sh/dev/hello-world?name=test2',
timezone: 'America/New_York',
state: 'enabled',
schedule: '* * * * *',
httpMethod: 'GET'
}
main: 853.437ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment