szmarczak / http-timer

🕐 Performance timings for HTTP requests
MIT License
192 stars 18 forks source link

Improve `electron` support #11

Closed szmarczak closed 4 years ago

szmarczak commented 4 years ago

Currently the timings look this:

  timings: {
    start: 1576269343669,
    socket: undefined,
    lookup: undefined,
    connect: undefined,
    secureConnect: undefined,
    upload: 1576269343682,
    response: 1576269344083,
    end: undefined,
    error: undefined,
    phases: {
      wait: undefined,
      dns: undefined,
      tcp: undefined,
      tls: undefined,
      request: NaN,
      firstByte: 401,
      download: undefined,
      total: undefined
    }
  }

Missing:

sindresorhus commented 4 years ago

If you add any workarounds, ensure you also open Electron issues.