Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More on performance

  • Loading branch information...
commit d4642a84dc6a65584f76b76e2f09a1853ff104b4 1 parent 60d8c9b
@jakubholynet authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 miniprojects/generic-pojo-mappers/README.md
View
9 miniprojects/generic-pojo-mappers/README.md
@@ -28,3 +28,12 @@ negligible compared f.ex. to the time necessary to retrieve the XML).
Notice that the times printed by the test have little value as they include the setup overhead that
normally get distributed among all (presumably many) objects handled by the system.
+
+From performance tests of the real project where we compared times for the manual and automatic processing
+for selected use cases, we got the following results:
+
+* XML parsing of 100 entries: 1.8s manually, 0.9s automatically
+* Reading from Mongo and converting to a POJO: the automatic solution was slower by 20ms (30%) for 1k records and 50ms (10%) for 10k
+* Inserting 1k POJOs into Mongo: 0.6s with the automatic conversion, 7s (quite surprisingly) with the manual one
+
+(No guarantee of any precision, objectivity or correctness of the tests.)
Please sign in to comment.
Something went wrong with that request. Please try again.