lemire / jackson-json-bench

A silly benchmark for Jackson (JSON parser)
4 stars 1 forks source link

Move objectmapper construction into setup #1

Open richardstartin opened 4 years ago

richardstartin commented 4 years ago

Just FYI this is a very expensive object to construct. Most Java applications share one instance between the entire application.

lemire commented 4 years ago

Good catch, I thought I did!

lemire commented 4 years ago

Fixed, thanks. It did not change the numbers in my case, possibly because I am benchmarking with non trivial JSON inputs.