nussknacker
nussknacker copied to clipboard
Json to nu struct with lazy map implementation
Describe your changes
some (local) numbers:
[info] Benchmark Mode Cnt Score Error Units
[info] NuStructBenchmark.deserialize thrpt 8 6.390 ± 0.067 ops/ms
[info] NuStructBenchmark.deserializeWithLazyMap thrpt 8 27.033 ± 3.003 ops/ms
[info] NuStructBenchmark.deserializeWithoutNuStruct thrpt 8 27.890 ± 0.394 ops/ms
Checklist before merge
- [ ] Related issue ID is placed at the beginning of PR title in [brackets] (can be GH issue or Nu Jira issue)
- [ ] Code is cleaned from temporary changes and commented out lines
- [ ] Parts of the code that are not easy to understand are documented in the code
- [ ] Changes are covered by automated tests
- [ ] Showcase in dev-application.conf added to demonstrate the feature
- [ ] Documentation added or updated
- [ ] Added entry in Changelog.md describing the change from the perspective of a public distribution user
- [ ] Added MigrationGuide.md entry in the appropriate subcategory if introducing a breaking change
- [ ] Verify that PR will be squashed during merge