Skip to content

Instantly share code, notes, and snippets.

@seriousme
Created April 9, 2016 13:13
Show Gist options
  • Save seriousme/2f31f50154f1bc24f24b90486e40e907 to your computer and use it in GitHub Desktop.
Save seriousme/2f31f50154f1bc24f24b90486e40e907 to your computer and use it in GitHub Desktop.
Tracing MQTT.js
Parser.prototype.parse 6377
BufferList.prototype.append 6200
Buffer.isBuffer 225
Parser.prototype._parseHeader 6387
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":32}
Buffer.prototype.readUInt8 739
checkOffset 707
BufferList.prototype.consume 6280
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":2,"1":0,"2":0}
Parser.prototype._parseLength 6396
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":2}
Buffer.prototype.readUInt8 739
checkOffset 707
BufferList.prototype.consume 6280
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":0,"1":0}
Parser.prototype._parsePayload 6420
Parser.prototype._parseConnack 6529
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":0}
Buffer.prototype.readUInt8 739
checkOffset 707
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {"0":0}
Buffer.prototype.readUInt8 739
checkOffset 707
Parser.prototype._newPacket 6369
BufferList.prototype.consume 6280
Buffer.prototype.slice 673
Buffer._augment 1186
Buffer _augment: {}
EventEmitter.prototype.emit 1571
emitting: packet
Parser.prototype.parse 6377
BufferList.prototype.append 6200
Buffer.isBuffer 225
Parser.prototype._parseHeader 6387
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer 85
fromObject 120
Buffer.isBuffer 225
fromArrayBuffer 162
Buffer._augment 1186
Buffer _augment: {"0":32,"1":2,"2":0,"3":0}
Buffer._augment 1186
Buffer.prototype.toJSON 548
Buffer _augment: {"type":"Buffer","data":[32,2,0,0]}
Buffer.prototype.readUInt8 739
checkOffset 707
BufferList.prototype.consume 6280
Buffer.prototype.slice 673
Buffer 85
fromObject 120
Buffer.isBuffer 225
fromArrayBuffer 162
Buffer._augment 1186
Buffer _augment: {"0":32,"1":2,"2":0,"3":0}
Buffer._augment 1186
Buffer.prototype.toJSON 548
Buffer _augment: {"type":"Buffer","data":[32,2,0,0]}
Parser.prototype._parseLength 6396
BufferList.prototype[m] 6325
BufferList.prototype.slice 6228
BufferList.prototype.copy 6231
BufferList.prototype._offset 6189
Buffer.prototype.slice 673
Buffer 85
fromObject 120
Buffer.isBuffer 225
fromArrayBuffer 162
Buffer._augment 1186
Buffer _augment: {"0":32,"1":2,"2":0,"3":0}
Buffer._augment 1186
Buffer.prototype.toJSON 548
Buffer _augment: {"type":"Buffer","data":[32,2,0,0]}
Buffer.prototype.readUInt8 739
checkOffset 707
BufferList.prototype.consume 6280
Buffer.prototype.slice 673
Buffer 85
fromObject 120
Buffer.isBuffer 225
fromArrayBuffer 162
Buffer._augment 1186
Buffer _augment: {"0":32,"1":2,"2":0,"3":0}
Buffer._augment 1186
Buffer.prototype.toJSON 548
Buffer _augment: {"type":"Buffer","data":[32,2,0,0]}
Parser.prototype._parsePayload 6420
process 4973
this.onwrite 7469
onwrite 7571
onwriteStateUpdate 7565
needFinish 7642
process.nextTick 1851
Item 1863
Readable.prototype.read 2577
debug 2419
howMuchToRead 2552
debug 2419
debug 2419
debug 2419
Duplexify.prototype._read 7980
Duplexify.prototype._forward 7984
maybeReadMore 2675
nextTick 3581
process.nextTick 1851
Item 1863
needMoreData 2527
Readable.prototype.read 6871
howMuchToRead 6847
maybeReadMore 6960
process.nextTick 1851
Item 1863
needMoreData 6826
drainQueue 1829
Item.prototype.run 1867
[Anonymous] 7583
afterWrite 7591
onwriteDrain 7598
cb 7519
Item.prototype.run 1867
[Anonymous] 3587
maybeReadMore_ 2681
Item.prototype.run 1867
[Anonymous] 6963
maybeReadMore_ 6968
[Anonymous] 4997
MqttClient.prototype._cleanUp 5187
Duplexify.prototype.destroy 7995
process.nextTick 1851
Item 1863
drainQueue 1829
Item.prototype.run 1867
[Anonymous] 8000
Duplexify.prototype._destroy 8004
DestroyableTransform.prototype.destroy 8412
process.nextTick 1851
Item 1863
DestroyableTransform.prototype.destroy 8412
EventEmitter.prototype.emit 1571
emitting: close
mqtt-instrumented.js (1716,21)
isUndefined 1767
isFunction 1758
onclose 5610
f 5698
EventEmitter.prototype.emit 1571
emitting: close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment