fluentsprings / ExpressMapper

Mapping .Net types
http://www.expressmapper.org
Other
310 stars 65 forks source link

Benchmarks #139

Open maurosampietro opened 7 years ago

maurosampietro commented 7 years ago

All mappers except AutoMapper are overall (init+execution time) faster than ExpressMapper on average. (at least on my computer, test run on release mode with no attached debugger :) ).

Your benchmark are misleading because you don't consider the 'init time':

You didn't take init time into account (but I did) because it is performed only once but the reality is that that step is so important that even performing a test 1 million times do not ease the difference between your mapper (that might be is fast at executing the mapping) and the other mappers (that are slower at executing the mapping but faster on building the map ), and for that reason the init step is not negligible. .

anisimovyuriy commented 7 years ago

Thanks @maurosampietro,

I'll take it into account and try to fix the benchmarks.

Steveiwonder commented 6 years ago

In addition to this, your benchmarks are out of date.

I've taken your benchmark project and updated it to work with the latest version of each library and other libraries are much faster now including AutoMapper which comes out on top (excluding native)

anisimovyuriy commented 6 years ago

Thanks Mauro for the feedback and great job that you’ve done - (honestly) - but it is not the place to advertise your products here that’s why I deleted your post.

I hope you understand.

Thanks, Yuriy