jsdelivr/globalping-cli

Latency parameter

Closed this issue · 2 comments

How about a global parameter called --latency. If added then instead of the normal rendered output we only return the latency numbers.

  • Ping: "avg": 0.713,
  • Traceroute: dont support
  • DNS: "timings": { "total": 4
  • MTR: "stats": { "avg": 0.8,
  • HTTP: "timings": { "total": 246,

The idea is that if you want to benchmark an endpoint from 20 locations you dont need all the output, you just need the numbers

@jimaek, to clarify. Something like this?

image

Yes, but probably only the first 3 values. The rest seems not as useful if you only care about running a quick latency test