You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C#] Add BenchmarkDotNet benchmarks comparable to mem-rs criterion benches #112
csharpC# implementation (csharp/)enhancementNew feature or requestmem-rs-parityCatch up with linksplatform/mem-rs (see #94)testsTests, coverage and benchmarks
mem-rs has criterion benchmarks (sync vs async, backends). C# has none, so modernisations (NativeMemory, RandomAccess, sparse growth, Span API) cannot be measured.
Proposed solution
Add a Platform.Memory.Benchmarks project with BenchmarkDotNet:
grow by N, random read/write, sequential write, reopen, FileArrayMemory vs mapped, heap vs NativeMemory;
the same scenarios as mem-rs benches/, so results are comparable.
Run them in CI on demand (workflow_dispatch) and publish the results as an artifact.
csharpC# implementation (csharp/)enhancementNew feature or requestmem-rs-parityCatch up with linksplatform/mem-rs (see #94)testsTests, coverage and benchmarks
Activity