Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create performance tests for Kotlin module #390

Open
dinomite opened this issue Oct 20, 2020 · 2 comments
Open

Create performance tests for Kotlin module #390

dinomite opened this issue Oct 20, 2020 · 2 comments
Assignees

Comments

@dinomite
Copy link
Member

There is a set of performance tests for Jackson but none of them use the Kotlin module currently.

@dinomite dinomite self-assigned this Oct 20, 2020
@cowtowncoder
Copy link
Member

@dinomite great minds etc; I was just thinking about this the other day. It might make sense to create slightly different set of tests (could still use same MediaItem) to contrast maybe "vanilla" Java with Kotlin (and maybe even Scala?), and possibly one or two other formats just as sanity checks. But not necessarily add new dimension for existing tests.
I think json backend should give a reasonable idea of differences.

Although one reason for using maybe different Bean type would be to use more varied features. Regardless, due to Kotlin's (and Scala's if included) heavier use of Creators, should probably use argument-taking constructors even if with MediaItem, to more accurately represent common usage patterns.

As a background MediaItem was used for convenience and to relate to then-popular JVM benchmark:

https://github.com/eishay/jvm-serializers

and was not necessarily designed to be particularly good value type to benchmark.

@k163377
Copy link
Contributor

k163377 commented Jul 17, 2023

I will share the benchmarks I use for my experimental project(jackson-module-kogera).
This includes benchmarks for basic serialization/deserialization and the use of value class/data class/Collection.
https://github.com/ProjectMapK/kogera-benchmark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants