]> Cypherpunks.ru repositories - gostls13.git/commit
internal/trace: add Go 1.19 test data
authorRhys Hiltner <rhys@justin.tv>
Thu, 23 Jun 2022 16:43:47 +0000 (09:43 -0700)
committerRhys Hiltner <rhys@justin.tv>
Fri, 24 Jun 2022 22:08:17 +0000 (22:08 +0000)
commitbd4753905d15035fabbc4dda79573506090fe40b
tree7acf4f84065aa99696743c241542318546cc3f8a
parent6b6c64b1cc918633824e7a9165816c81f0c08b21
internal/trace: add Go 1.19 test data

Update instructions to match what seems to be the historical practice:
to generate canned traces when a version is finalized, rather than
waiting until it is superseded.

Follow rename of trace-internal tests from "Span" to "Region". Update
the net/http test invocation to match the apparent intent and the actual
http_1_5_good behavior (about 7ms of total run time and trace file size
under 50kB).

Change-Id: Ifd4c85882159478852e0b8f0d771b6f16b8f3c1b
Reviewed-on: https://go-review.googlesource.com/c/go/+/413776
Run-TryBot: Rhys Hiltner <rhys@justin.tv>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/internal/trace/mkcanned.bash
src/internal/trace/parser.go
src/internal/trace/testdata/http_1_19_good [new file with mode: 0644]
src/internal/trace/testdata/stress_1_19_good [new file with mode: 0644]
src/internal/trace/testdata/stress_start_stop_1_19_good [new file with mode: 0644]
src/internal/trace/testdata/user_task_region_1_11_good [moved from src/internal/trace/testdata/user_task_span_1_11_good with 100% similarity]
src/internal/trace/testdata/user_task_region_1_19_good [new file with mode: 0644]