Skip to content

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

@MihuBot

Description

@MihuBot

Job completed in 32 minutes 24 seconds (remote runner delay: 48 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] 183.9 ns 0.77 ns 1.00 248 B 1.00
CtorIdnHostPathAndQuery PR http://dot.ne(...)alue#fragment [43] 195.8 ns 2.38 ns 1.06 248 B 1.00
CtorIdnHostPathAndQuery Main http://höst.w(...)alue#fragment [53] 1,082.9 ns 3.40 ns 1.00 936 B 1.00
CtorIdnHostPathAndQuery PR http://höst.w(...)alue#fragment [53] 1,071.4 ns 3.28 ns 0.99 936 B 1.00
CtorIdnHostPathAndQuery Main http://host/ 109.6 ns 0.67 ns 1.00 200 B 1.00
CtorIdnHostPathAndQuery PR http://host/ 110.4 ns 0.11 ns 1.01 200 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)s?key=ünicode [50] 468.6 ns 3.65 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)s?key=ünicode [50] 483.4 ns 1.01 ns 1.03 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)es?key=va lue [49] 288.6 ns 0.71 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)es?key=va lue [49] 291.2 ns 2.53 ns 1.01 296 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)3&key4=value4 [64] 224.6 ns 2.23 ns 1.00 304 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)3&key4=value4 [64] 243.3 ns 2.42 ns 1.08 304 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)=%C3%BCnicode [61] 515.5 ns 0.95 ns 1.00 752 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)=%C3%BCnicode [61] 548.7 ns 31.99 ns 1.06 752 B 1.00
CtorIdnHostPathAndQuery Main http://host/p(...)?key=va%20lue [57] 226.1 ns 0.13 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://host/p(...)?key=va%20lue [57] 233.4 ns 0.43 ns 1.03 296 B 1.00
CtorIdnHostPathAndQuery Main http://xn--hs(...)alue#fragment [67] 231.1 ns 1.54 ns 1.00 296 B 1.00
CtorIdnHostPathAndQuery PR http://xn--hs(...)alue#fragment [67] 238.4 ns 0.22 ns 1.03 296 B 1.00
CtorIdnHostPathAndQuery Main https://a.muc(...)alue#fragment [62] 233.9 ns 0.77 ns 1.00 280 B 1.00
CtorIdnHostPathAndQuery PR https://a.muc(...)alue#fragment [62] 247.3 ns 2.34 ns 1.06 280 B 1.00
CtorIdnHostPathAndQuery Main https://conto(...)alue#fragment [48] 188.3 ns 0.39 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://conto(...)alue#fragment [48] 198.4 ns 1.80 ns 1.05 256 B 1.00
CtorIdnHostPathAndQuery Main https://CONTO(...)alue#fragment [48] 188.0 ns 1.88 ns 1.00 256 B 1.00
CtorIdnHostPathAndQuery PR https://CONTO(...)alue#fragment [48] 199.2 ns 0.94 ns 1.06 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