Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasgmagalhaes/manualmaputil
A AutoMapper (but not auto) like map function.
https://github.com/lucasgmagalhaes/manualmaputil
Last synced: about 6 hours ago
JSON representation
A AutoMapper (but not auto) like map function.
- Host: GitHub
- URL: https://github.com/lucasgmagalhaes/manualmaputil
- Owner: lucasgmagalhaes
- License: mit
- Created: 2020-12-22T23:43:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-23T14:24:45.000Z (almost 4 years ago)
- Last Synced: 2024-10-19T06:40:23.856Z (29 days ago)
- Language: C#
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ManualMapUtil
A AutoMapper (but not auto) like map function.``` ini
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.685 (2004/?/20H1)
AMD Ryzen 5 2600, 1 CPU, 12 logical and 6 physical cores
.NET Core SDK=5.0.101
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT [AttachedDebugger]
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT```
| Method | Mean | Error | StdDev |
|-------------- |---------:|--------:|--------:|
| ManualMap | 177.9 ns | 3.57 ns | 6.79 ns |
| AutoMapperMap | 188.9 ns | 3.86 ns | 6.96 ns |
| ManualMapCall | 117.4 ns | 2.43 ns | 5.87 ns |