Skip to content

Extract set-up code #1

@gunnarmorling

Description

@gunnarmorling

Hey @johnaohara, I was wondering whether keeping the creation of ObjectMapper et al. within the benchmark methods doesn't potentially distort the results. Typically, you'd set up the mapper object only once and re-use them then. I.e. extracting them to the JMH state class would be more representative potentially. WDYT?

And would be nice to add Qson too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions