Skip to content

A perfect example why you should (probably) never write a custom JSON Serializer for your Java Application

Notifications You must be signed in to change notification settings

nchabanoles/never-build-custom-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Never Build a Custom JSON Serializer

A perfect example why you should (probably) never write a custom JSON Serializer for your Java Application

build dist

Unzip all jars into Tomcat / webapps / ROOT / WEB-INF / lib
Unzip web.xml into Tomcat / webapps / ROOT / WEB-INF

Restart Tomcat

Browse http://localhost:8080/string?iterations=10000&serializer=custom

==> See how the server respond after 113334 milliseconds

Browse http://localhost:8080/string?iterations=10000&serializer=fast

==> See how the server respond after 240 milliseconds

No possible comparisons!

About

A perfect example why you should (probably) never write a custom JSON Serializer for your Java Application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages