1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/trace
xiehuc 88da778ba2
improve tracestate performance (#4722)
* improve tracestate performance

* use string.Builder to directly construct the result

* reduce the redundant copying during Insert

* avoid using regex

* fix lint

* revert changelog

* update comment

* refine code

* fix lint

* fix unittest

* Update trace/tracestate.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-12-02 08:58:20 -08:00
..
embedded Add embedded package to trace API (#4620) 2023-10-19 10:16:24 -07:00
noop Add embedded package to trace API (#4620) 2023-10-19 10:16:24 -07:00
config_test.go docs(typos): Run codespell to fix typos (#3980) 2023-04-11 17:28:13 -07:00
config.go Use gofumpt instead of gofmt (#4623) 2023-10-16 10:02:21 -07:00
context_test.go Update SamplingParameters (#1749) 2021-03-30 10:34:40 -07:00
context.go Update SamplingParameters (#1749) 2021-03-30 10:34:40 -07:00
doc.go Add embedded package to trace API (#4620) 2023-10-19 10:16:24 -07:00
go.mod Release 1.21.0/0.44.0 (#4724) 2023-11-16 21:11:06 +01:00
go.sum dependabot updates Sun Oct 15 14:43:01 UTC 2023 (#4637) 2023-10-15 07:53:27 -07:00
nonrecording.go Store current Span instead of local and remote SpanContext in context.Context (#1731) 2021-03-29 08:55:44 -07:00
noop_test.go Add span.TracerProvider() (#2009) 2021-06-17 12:05:44 -04:00
noop.go Add embedded package to trace API (#4620) 2023-10-19 10:16:24 -07:00
trace_test.go Use gofumpt instead of gofmt (#4623) 2023-10-16 10:02:21 -07:00
trace.go Add embedded package to trace API (#4620) 2023-10-19 10:16:24 -07:00
tracestate_benchkmark_test.go improve tracestate performance (#4722) 2023-12-02 08:58:20 -08:00
tracestate_test.go improve tracestate performance (#4722) 2023-12-02 08:58:20 -08:00
tracestate.go improve tracestate performance (#4722) 2023-12-02 08:58:20 -08:00