perf: parse w3c traceparent using a custom parser by dmehala · Pull Request #178 · DataDog/dd-trace-cpp

@dmehala

std::regex is notoriously known to be slow. This custom parser
implementation offers significantly better performance.

@dmehala changed the title perf: parse w3c traceparent without regex perf: parse w3c traceparent using a customer parser

Jan 24, 2025

@dmehala dmehala marked this pull request as ready for review

January 24, 2025 16:40

zacharycmontoya

pablomartinezbernardo

@dmehala

@dmehala dmehala deleted the dmehala/faster-w3c-parsing branch

January 27, 2025 10:21

@bm1549 bm1549 changed the title perf: parse w3c traceparent using a customer parser perf: parse w3c traceparent using a custom parser

Apr 25, 2025

dmehala added a commit that referenced this pull request

Sep 10, 2025
This addresses a regression introduced in #178, where traceparent
headers containing unsupported characters were not properly rejected and
were incorrectly treated as valid.

[APMAPI-1599]

dmehala added a commit that referenced this pull request

Sep 10, 2025
This addresses a regression introduced in #178, where traceparent
headers containing unsupported characters were not properly rejected and
were incorrectly treated as valid.

[APMAPI-1599]

dmehala added a commit that referenced this pull request

Sep 22, 2025
This addresses a regression introduced in #178, where traceparent
headers containing unsupported characters were not properly rejected and
were incorrectly treated as valid.

[APMAPI-1599]