mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Fix response latency calculation
Previously latency calcualted as Response.End - Request.Start Where both End and Start is a last and first packets This calcualtion is wrong, because it is total roundtrip Correct server latency will be Response.End - Request.End In addition added new `--input-raw-timestamp-type` option which allows choose more precise packet timestamp source (if available).
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"strings"
|
||||
"hash/fnv"
|
||||
"encoding/base64"
|
||||
"hash/fnv"
|
||||
"strings"
|
||||
|
||||
"github.com/buger/goreplay/proto"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user