Latency Fingerprint
Description: This function fingerprints the latency between the server and the client.
Issues: Many things can impact latency timings and a given user timing can vary over a range of latency numbers. Standard deviation is a good way to utilize the output, looking for anomalies. Not all browsers support all timings.
Returns: The request time and the network latency timing.
Entropy: N/A
Output for your computer is:
function fingerprint_latency() { "use strict"; var perfData, dns, connection, requestTime, networkLatency; perfData = null; dns = null; connection = null; requestTime = null; networkLatency = null; try { // supported by a number of modern browsers perfData = window.performance.timing; requestTime = perfData.responseStart - perfData.requestStart; networkLatency = perfData.responseEnd - perfData.fetchStart; return requestTime + "|" + networkLatency; } catch (err) { return "Unknown"; } }