Skip to content

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

@MihuBot

Description

@MihuBot

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

Using arguments: benchmark CtorIdnHostPathAndQuery -medium -NoPRLink

System.Tests.Perf_Uri
BenchmarkDotNet v0.14.1-nightly.20250107.205, Linux Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 9V74, 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] 186.1 ns 0.73 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery PR http://dot.ne(...)alue#fragment [43] 186.5 ns 0.43 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery Main http://höst.w(...)alue#fragment [53] 1,071.1 ns 12.44 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery PR http://höst.w(...)alue#fragment [53] 1,075.0 ns 3.41 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery Main http://host/ 109.0 ns 0.47 ns 1.00 200 B 1.00
CtorIdnHostPathAndQuery PR http://host/ 113.5 ns 2.84 ns 1.04 200 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)s?key=ünicode [50] 473.8 ns 7.25 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)s?key=ünicode [50] 465.3 ns 4.49 ns 0.98 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)es?key=va lue [49] 286.2 ns 2.29 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)es?key=va lue [49] 297.0 ns 4.70 ns 1.04 296 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)3&key4=value4 [64] 227.5 ns 1.01 ns 1.00 304 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)3&key4=value4 [64] 231.1 ns 0.16 ns 1.02 304 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)=%C3%BCnicode [61] 522.2 ns 3.77 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)=%C3%BCnicode [61] 511.7 ns 3.26 ns 0.98 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)?key=va%20lue [57] 227.4 ns 1.16 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)?key=va%20lue [57] 228.2 ns 0.14 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery Main http://xn--hs(...)alue#fragment [67] 228.7 ns 0.27 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://xn--hs(...)alue#fragment [67] 240.8 ns 3.01 ns 1.05 296 B 1.00
CtorIdnHostPathAndQuery Main https://a.muc(...)alue#fragment [62] 238.8 ns 1.18 ns 1.00 280 B 1.00
CtorIdnHostPathAndQuery PR https://a.muc(...)alue#fragment [62] 240.5 ns 0.49 ns 1.01 280 B 1.00
CtorIdnHostPathAndQuery Main https://conto(...)alue#fragment [48] 185.6 ns 1.08 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://conto(...)alue#fragment [48] 194.7 ns 0.92 ns 1.05 256 B 1.00
CtorIdnHostPathAndQuery Main https://CONTO(...)alue#fragment [48] 193.4 ns 0.73 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://CONTO(...)alue#fragment [48] 193.1 ns 0.56 ns 1.00 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