commit | f6f12cea6030a05cccbb2acc486450dd3ad4f06b | [log] [tgz] |
---|---|---|
author | Haim Grosman <haimg@google.com> | Thu May 18 15:40:24 2023 +0000 |
committer | Willy Tu <wltu@google.com> | Fri May 19 16:45:26 2023 -0700 |
tree | c45f7b522ddaf1f72e7562092fd6adf058220763 | |
parent | 96a0bed5c7767dd953c8a942e20651d55670ed98 [diff] |
bmcweb: make all std::regex static the regex compile time adds an extra second to level6 expand commands since the code is creating and compiling the same regex's 200 times to validate some JSON file names before reading them prior work: https://gbmc-private-review.git.corp.google.com/c/gbmcweb/+/2840 Bug: https://b.corp.google.com/issues/283248170 Google-Bug-Id: 283248170 Change-Id: Ifc3d080cab6e3a4dfd6754adac92144860541dc5 Signed-off-by: Haim Grosman <haimg@google.com> (cherry picked from commit 330264be6e76d63e81d39077deadbf81c097a2cf)