Skip to content

fix error details#6

Merged
jsneedles merged 1 commit into
mainfrom
error_improvements
Apr 14, 2026
Merged

fix error details#6
jsneedles merged 1 commit into
mainfrom
error_improvements

Conversation

@jsneedles

Copy link
Copy Markdown
Member

Adds reference ID to error details and makes the ValidationError shape correct

Adds reference ID to error details and makes the ValidationError shape correct
@github-actions

Copy link
Copy Markdown

Test results

89 tests   89 ✅  0s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 8d765ac.

@github-actions

Copy link
Copy Markdown

Test results

89 tests   89 ✅  0s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 8d765ac.

@github-actions

Copy link
Copy Markdown

Benchmark Results

HtmlCssToImage.Benchmarks.Benchmarks.HmacBenchmark


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.08GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.201
  [Host]  : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v3
  .NET 10 : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v3

Job=.NET 10  EnvironmentVariables=DOTNET_TieredPGO=0  Runtime=.NET 10.0  
Server=True  MaxIterationCount=20  MaxWarmupIterationCount=5  
MinWarmupIterationCount=2  

Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
Hmac_Standard_Instance 1.990 μs 0.0009 μs 0.0007 μs 1.00 0.0648 696 B 1.00
HCTI_HmacToken_Optimized 1.823 μs 0.0044 μs 0.0039 μs 0.92 0.0134 152 B 0.22

HtmlCssToImage.Benchmarks.Benchmarks.MakeAuthHeaderBenchmark


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz (Max: 2.79GHz), 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.201
  [Host]  : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v4
  .NET 10 : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v4

Job=.NET 10  EnvironmentVariables=DOTNET_TieredPGO=0  Runtime=.NET 10.0  
Server=True  MaxIterationCount=20  MaxWarmupIterationCount=5  
MinWarmupIterationCount=2  

Method Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
AuthHeader_Standard_StringFormat 101.54 ns 3.043 ns 3.505 ns 1.00 0.05 0.0367 376 B 1.00
HCTI_AuthHeader_Optimized 78.42 ns 1.600 ns 1.712 ns 0.77 0.03 0.0221 168 B 0.45

HtmlCssToImage.Benchmarks.Benchmarks.QueryStringEncoderBenchmark


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.201
  [Host]  : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v4
  .NET 10 : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v4

Job=.NET 10  EnvironmentVariables=DOTNET_TieredPGO=0  Runtime=.NET 10.0  
Server=True  MaxIterationCount=20  MaxWarmupIterationCount=5  
MinWarmupIterationCount=2  

Method Mean Error StdDev Ratio Gen0 Allocated Alloc Ratio
BuiltIn_HttpUtility 888.7 ns 4.55 ns 4.25 ns 1.00 0.2947 2976 B 1.00
HCTI_QueryStringEncoder 892.2 ns 6.05 ns 5.66 ns 1.00 0.2842 744 B 0.25

HtmlCssToImage.Benchmarks.Benchmarks.TemplateListUrlBenchmark


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.201
  [Host]  : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v3
  .NET 10 : .NET 10.0.5 (10.0.5, 10.0.526.15411), X64 RyuJIT x86-64-v3

Job=.NET 10  EnvironmentVariables=DOTNET_TieredPGO=0  Runtime=.NET 10.0  
Server=True  MaxIterationCount=20  MaxWarmupIterationCount=5  
MinWarmupIterationCount=2  

Method templateId nextPageStart Mean Error StdDev Ratio RatioSD Gen0 Allocated Alloc Ratio
Basic ? ? 66.31 ns 1.443 ns 1.603 ns 1.00 0.03 0.0168 128 B 1.00
Optimized ? ? 24.20 ns 0.476 ns 0.445 ns 0.37 0.01 0.0084 64 B 0.50
Basic t-daa(...)2efe6 [38] ? 94.48 ns 0.999 ns 0.935 ns 1.00 0.01 0.0308 312 B 1.00
Optimized t-daa(...)2efe6 [38] ? 29.50 ns 0.580 ns 0.543 ns 0.31 0.01 0.0141 144 B 0.46
Basic t-daa(...)2efe6 [38] 1735689600 87.85 ns 2.046 ns 2.356 ns 1.00 0.04 0.0292 296 B 1.00
Optimized t-daa(...)2efe6 [38] 1735689600 45.31 ns 0.699 ns 0.654 ns 0.52 0.02 0.0188 192 B 0.65

@jsneedles jsneedles merged commit 76bcdc1 into main Apr 14, 2026
9 checks passed
@jsneedles jsneedles deleted the error_improvements branch April 14, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant