Skip to content

Instantly share code, notes, and snippets.

View udlose's full-sized avatar
:octocat:
Probably benchmarking...

Dave Black udlose

:octocat:
Probably benchmarking...
View GitHub Profile
@udlose
udlose / Linq to Xml - XName Atomization Benchmark.cs
Created January 12, 2025 21:29
Linq to Xml - XName Atomization Benchmark
void Main()
{
var summary = BenchmarkRunner.Run<LinqToXmlXNameAtomizationBenchmark>();
// xml test data
//<aw:Root xmlns:aw="http://www.adventure-works.com">
// <aw:Data ID="1">4,100,000</aw:Data>
// <aw:Data ID="2">3,700,000</aw:Data>
// <aw:Data ID="3">1,150,000</aw:Data>
//</aw:Root>