arey / java-object-mapper-benchmark Goto Github PK
View Code? Open in Web Editor NEWJMH benchmark of Java object-to-object mapping frameworks
JMH benchmark of Java object-to-object mapping frameworks
JMapper benchmark does not implement mapping for customerName field.
There is also no appropriate test, that can reveal the issue.
P.S. PR for the fix is in progress.
The OrderFactory
currently only returns one case which could be seen as the most "happiest" case: nothing is null which introduces several issues:
I would propose the OrderManager
to return a List<Order>
which contains a happy, unhappy and middle case which is iterated for each mapper. Each Mapper will suffer in its final score if it handles one of those cases poorly. Maybe use an Order[]
instead of a List<Order>
to avoid skewing the results by having to instantiate an Iterator<Order>
in each benchmark call. An extended for
-loop on an array desugars into an indexed based loop that won't impact the results as much
Hello
I use https://github.com/remondis-it/remap because it check mapping at compile time and runtime
Could you add it in test
Best
The benchmarked version of Orika is old. The latest version supports a new BoundMapperFacade that brings substantial performance improvements.
A pull request addressing this issue is in the works.
Most mappers (Orika, BULL etc.) in this repository had new releases since the last benchmark run from february - let's get some up to date data and update the readme's table + image.
Enhance the model with more advanced features: enum mapping, transcoding, String to numeric conversion ...
The complexity is to implement thoses new features for all existing mappers.
Libraries used for this benchmark project are outdated, as well as JMH harness, and should be updated.
Corresponding PR is on the way.
Hi,
I read your article where you compare several mappers, I think that you can achieve interesting results by adding JMapper to the comparison.
https://github.com/jmapper-framework/jmapper-core
(i'm the founder)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.