ict.ken.be

 

AutoMapper vs Emit vs ValueInjector vs Glue

Related Posts

Categories: .Net
I did some small tests on mapping tools and as expected AutoMapper is ‘best of the test’. However if you are doing semi-automatic (only map the ones that are different manually), you will get 6 times faster results with Emit. I think that coding ease should prevail and you should use a caching layer to cover-up this difference.
 
TEST RESULTS - 4 oct 2012 - N = 300000
  1. Automapper for coding ease and multiple features.
  2. Emit when needing speed and you can apply an algorithm. (faster for simple cases)
  3. ValueInjecter has almost same features as Emit but slower. And in AutoMapper simulation mode incredible slow. (obsolete)
  4. Glue is too slow. (obsolete)