microsoft / security-utilities

Security utilities for key generation, string redaction, etc.
MIT License
24 stars 9 forks source link

Benchmark update : IN PROGRESS #16

Closed michaelcfanning closed 4 months ago

michaelcfanning commented 4 months ago
michaelcfanning commented 4 months ago
                        throw new InvalidOperationException($"Regex {regexPattern.Name} failed to detect example {example}");

this exception ensures that every engine is absolutely consistent in detecting a single result for every test pattern.


Refers to: src/Benchmarks/RegexEngineDetectionBenchmarks.cs:98 in c9393d3. [](commit_id = c9393d3fe9dfb0db6f943f1469afd35081df9f67, deletion_comment = False)

michaelcfanning commented 4 months ago

// Copyright (c) Microsoft. All rights reserved.

evil newline reformatting


Refers to: src/Microsoft.Security.Utilities.Cli/RedactCommand.cs:1 in 58ff98a. [](commit_id = 58ff98a4c9c05a95bb36553a83ada1fdf3d037eb, deletion_comment = False)