Skip to content

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

@MihuBot

Description

@MihuBot

Job completed in 32 minutes 37 seconds (remote runner delay: 37 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] 184.6 ns 0.80 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery PR http://dot.ne(...)alue#fragment [43] 195.5 ns 0.31 ns 1.06 248 B 1.00
CtorIdnHostPathAndQuery Main http://höst.w(...)alue#fragment [53] 1,087.0 ns 8.03 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery PR http://höst.w(...)alue#fragment [53] 1,089.3 ns 9.79 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery Main http://host/ 110.4 ns 0.24 ns 1.00 200 B 1.00
CtorIdnHostPathAndQuery PR http://host/ 112.3 ns 0.93 ns 1.02 200 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)s?key=ünicode [50] 463.1 ns 3.10 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)s?key=ünicode [50] 488.3 ns 2.66 ns 1.05 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)es?key=va lue [49] 284.6 ns 0.31 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)es?key=va lue [49] 292.2 ns 1.78 ns 1.03 296 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)3&key4=value4 [64] 229.1 ns 0.44 ns 1.00 304 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)3&key4=value4 [64] 231.7 ns 0.28 ns 1.01 304 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)=%C3%BCnicode [61] 520.3 ns 0.92 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)=%C3%BCnicode [61] 504.6 ns 2.62 ns 0.97 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)?key=va%20lue [57] 231.5 ns 0.97 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)?key=va%20lue [57] 231.9 ns 1.71 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery Main http://xn--hs(...)alue#fragment [67] 233.5 ns 1.25 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://xn--hs(...)alue#fragment [67] 233.5 ns 0.47 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery Main https://a.muc(...)alue#fragment [62] 240.3 ns 1.66 ns 1.00 280 B 1.00
CtorIdnHostPathAndQuery PR https://a.muc(...)alue#fragment [62] 244.0 ns 1.04 ns 1.02 280 B 1.00
CtorIdnHostPathAndQuery Main https://conto(...)alue#fragment [48] 190.2 ns 1.60 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://conto(...)alue#fragment [48] 193.3 ns 0.39 ns 1.02 256 B 1.00
CtorIdnHostPathAndQuery Main https://CONTO(...)alue#fragment [48] 189.5 ns 0.46 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://CONTO(...)alue#fragment [48] 194.6 ns 1.48 ns 1.03 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