1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
opentelemetry-go/propagation
xiehuc 04054929f1
improve trace_context performance (#4721)
* improve trace_context performance

* using strings.Builder instead of fmt.Sprint

* using strings.Cut instead of strings.Split

* using hex.Decode instead of hex.DecodeString

* avoid use regexp

* fix code style

* fix build

* update changelog

* refine code

* update comment

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-11-29 09:32:27 -08:00
..
baggage_test.go Fix baggage.NewMember to decode the accepted value (#3226) 2022-10-18 12:45:04 -07:00
baggage.go Update W3C Baggage spec link to latest stable (#2413) 2021-11-23 14:50:38 -08:00
doc.go Update W3C Baggage spec link to latest stable (#2413) 2021-11-23 14:50:38 -08:00
propagation_test.go Use gofumpt instead of gofmt (#4623) 2023-10-16 10:02:21 -07:00
propagation.go Add MapCarrier (#2334) 2021-10-29 12:04:36 -04:00
propagators_test.go Store current Span instead of local and remote SpanContext in context.Context (#1731) 2021-03-29 08:55:44 -07:00
trace_context_benchmark_test.go Simplify trace context benchmark test (#2109) 2021-07-21 07:25:18 -07:00
trace_context_example_test.go Move Version function and code from global to toplevel (#1330) 2020-11-16 09:30:54 -08:00
trace_context_test.go docs(typos): Run codespell to fix typos (#3980) 2023-04-11 17:28:13 -07:00
trace_context.go improve trace_context performance (#4721) 2023-11-29 09:32:27 -08:00