Mapperly 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
Mapperly 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
Mapperly 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 Apache
开发语言 C# 查看源码 »
操作系统 Windows
软件类型 开源软件
开源组织
地区 不详
投 递 者
适用人群 未知
收录时间 2022-03-01

软件简介

Mapperly 是一个用于生成对象映射的 .NET 代码生成器,灵感来自 MapStruct。

Mapperly 会在构建时创建映射代码,所以其运行时的开销最小。此外生成的代码完全可读,开发者可轻松验证生成的映射代码。

性能对比

Method Mean Error StdDev Gen 0 Allocated
AgileMapper 1,523.8 ns 3.90 ns 3.25 ns 1.5106 3,160 B
TinyMapper 4,094.3 ns 3.90 ns 3.05 ns 1.0300 2,160 B
ExpressMapper 2,595.8 ns 5.49 ns 5.14 ns 2.3422 4,904 B
AutoMapper 1,203.9 ns 2.30 ns 2.15 ns 0.9098 1,904 B
ManualMapping 529.6 ns 0.52 ns 0.44 ns 0.5541 1,160 B
Mapster 562.1 ns 1.14 ns 0.89 ns 0.9098 1,904 B
Mapperly 338.5 ns 0.95 ns 0.84 ns 0.4396 920 B
展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论

点击加入讨论🔥(1) 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
1 评论
7 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部