Skip to content

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

@MihuBot

Description

@MihuBot

Job completed in 31 minutes 53 seconds (remote runner delay: 38 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] 185.8 ns 1.90 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery PR http://dot.ne(...)alue#fragment [43] 192.6 ns 0.48 ns 1.04 248 B 1.00
CtorIdnHostPathAndQuery Main http://höst.w(...)alue#fragment [53] 1,086.6 ns 1.84 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery PR http://höst.w(...)alue#fragment [53] 1,077.7 ns 19.34 ns 0.99 936 B 1.00
CtorIdnHostPathAndQuery Main http://host/ 109.5 ns 0.89 ns 1.00 200 B 1.00
CtorIdnHostPathAndQuery PR http://host/ 111.0 ns 0.48 ns 1.01 200 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)s?key=ünicode [50] 463.2 ns 0.82 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)s?key=ünicode [50] 479.7 ns 2.77 ns 1.04 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)es?key=va lue [49] 283.7 ns 0.26 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)es?key=va lue [49] 289.6 ns 1.79 ns 1.02 296 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)3&key4=value4 [64] 226.9 ns 0.35 ns 1.00 304 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)3&key4=value4 [64] 238.0 ns 0.44 ns 1.05 304 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)=%C3%BCnicode [61] 520.4 ns 7.43 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)=%C3%BCnicode [61] 525.9 ns 0.76 ns 1.01 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)?key=va%20lue [57] 226.5 ns 0.13 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)?key=va%20lue [57] 232.5 ns 0.17 ns 1.03 296 B 1.00
CtorIdnHostPathAndQuery Main http://xn--hs(...)alue#fragment [67] 229.8 ns 0.75 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://xn--hs(...)alue#fragment [67] 240.0 ns 0.28 ns 1.04 296 B 1.00
CtorIdnHostPathAndQuery Main https://a.muc(...)alue#fragment [62] 234.5 ns 0.35 ns 1.00 280 B 1.00
CtorIdnHostPathAndQuery PR https://a.muc(...)alue#fragment [62] 248.7 ns 0.88 ns 1.06 280 B 1.00
CtorIdnHostPathAndQuery Main https://conto(...)alue#fragment [48] 188.1 ns 1.81 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://conto(...)alue#fragment [48] 199.3 ns 0.57 ns 1.06 256 B 1.00
CtorIdnHostPathAndQuery Main https://CONTO(...)alue#fragment [48] 188.6 ns 1.36 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://CONTO(...)alue#fragment [48] 198.2 ns 0.24 ns 1.05 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