perf(common): add full regex ASCII mode - #2455
Conversation
WASM consumers with closed ASCII pattern sets can omit Unicode tables without giving up the full engine's performance optimizations. Default builds remain Unicode-capable for user-provided replacement rules.
📚 Documentation Check Results📦
|
🔒 Cargo Deny Results📦
|
|
BenchmarksComparisonBenchmark execution time: 2026-09-03 11:59:55 Comparing candidate commit a23b2b3 in PR branch Found 15 performance improvements and 6 performance regressions! Performance is the same for 115 metrics, 0 unstable metrics.
|
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
The Node WASM pipeline evaluates a closed set of ASCII patterns.
regex-literemoves Unicode tables, but also gives up the full engine's performance optimizations.This adds
regex-asciifor the full engine withperfandstd, without Unicode tables. Default builds and consumers that accept user-provided replacement patterns remain Unicode-capable.