Skip to content

[Benchmark X64] [MihaZupan] Remove more unsafe code from Uri internals #1624

@MihuBot

Description

@MihuBot

Job completed in 34 minutes 43 seconds (remote runner delay: 55 seconds).

Using arguments: benchmark CtorIdnHostPathAndQuery -medium -intel -NoPRLink

System.Tests.Perf_Uri
BenchmarkDotNet v0.14.1-nightly.20250107.205, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 8 logical and 4 physical cores
MediumRun : .NET 10.0.0 (42.42.42.42424), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job=MediumRun  OutlierMode=Default  IterationCount=15
LaunchCount=2  MemoryRandomization=Default  WarmupCount=10
Method Toolchain input Mean Error Ratio Allocated Alloc Ratio
CtorIdnHostPathAndQuery Main http://dot.ne(...)alue#fragment [43] 300.2 ns 2.47 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery PR http://dot.ne(...)alue#fragment [43] 308.5 ns 1.41 ns 1.03 248 B 1.00
CtorIdnHostPathAndQuery Main http://höst.w(...)alue#fragment [53] 1,455.3 ns 31.55 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery PR http://höst.w(...)alue#fragment [53] 1,467.3 ns 34.27 ns 1.01 936 B 1.00
CtorIdnHostPathAndQuery Main http://host/ 172.5 ns 0.92 ns 1.00 200 B 1.00
CtorIdnHostPathAndQuery PR http://host/ 177.8 ns 0.77 ns 1.03 200 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)s?key=ünicode [50] 709.7 ns 1.99 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)s?key=ünicode [50] 707.6 ns 2.45 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)es?key=va lue [49] 438.9 ns 5.41 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)es?key=va lue [49] 440.2 ns 1.59 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)3&key4=value4 [64] 342.3 ns 1.31 ns 1.00 304 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)3&key4=value4 [64] 351.4 ns 0.64 ns 1.03 304 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)=%C3%BCnicode [61] 754.3 ns 2.72 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)=%C3%BCnicode [61] 769.6 ns 2.68 ns 1.02 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)?key=va%20lue [57] 348.5 ns 0.66 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)?key=va%20lue [57] 348.3 ns 2.95 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery Main http://xn--hs(...)alue#fragment [67] 394.5 ns 0.73 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://xn--hs(...)alue#fragment [67] 391.5 ns 2.51 ns 0.99 296 B 1.00
CtorIdnHostPathAndQuery Main https://a.muc(...)alue#fragment [62] 389.6 ns 4.40 ns 1.00 280 B 1.00
CtorIdnHostPathAndQuery PR https://a.muc(...)alue#fragment [62] 397.7 ns 3.36 ns 1.02 280 B 1.00
CtorIdnHostPathAndQuery Main https://conto(...)alue#fragment [48] 299.3 ns 1.44 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://conto(...)alue#fragment [48] 318.0 ns 0.80 ns 1.06 256 B 1.00
CtorIdnHostPathAndQuery Main https://CONTO(...)alue#fragment [48] 316.1 ns 3.35 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://CONTO(...)alue#fragment [48] 322.0 ns 0.69 ns 1.02 256 B 1.00

Artifacts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions