Automapper running extremely slow on mapping 1400 records

前端 未结 4 1223
南旧
南旧 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:47

    There was a team at my previous job who were also using Automapper but in the end they removed it because of the performance impact.

    I think in this specific scenario it's best to write the mapping code yourself, or start replacing them one by one. Maybe one mapping is causing the bad performance?

提交回复
热议问题