Automapper running extremely slow on mapping 1400 records

前端 未结 4 1220
南旧
南旧 2021-02-19 18:34

I am using AUtomapper which I am very impressed with however, I have a complex object with many nested collections. I\'m using Telerik OpenAccess and it returns the 1400 records

4条回答
  •  时光说笑
    2021-02-19 18:54

    I benchmarked automapper. A single core of a 2.0GHz Xeon is able to handle 85,000 maps per second, on a small object (3 properties). It was 60 times slower than manually copying the properties. If you'd like, I can benchmark other values for you.

提交回复
热议问题