Closed SentryMan closed 1 year ago
Flagged the issue on the java jsoniter project: https://github.com/json-iterator/java/issues/341
@fabienrenaud @SentryMan How about using jsoniter-scala?
Would you let the beast of Scala beat all the Java kittens?
You could probably raise a pr to add if you want.
Would you let the beast of Scala beat all the Java kittens?
Oho? I'd like to see you try at least.
@plokhotnyuk I don't mind as long as it integrates well into the project (I don't see how since everything is written in Java). Feel free to send a PR though.
@plokhotnyuk I don't mind as long as it integrates well into the project (I don't see how since everything is written in Java). Feel free to send a PR though.
Yep, before doing that I would refactor your benchmark to be simpler, correct, and more reusable.
Please see how benchmarks are implemented to test different JSON parsers for Scala on different platforms here.
before doing that I would refactor your benchmark to be simpler, correct, and more reusable.
@plokhotnyuk Sounds great! What do you find to be not correct with this benchmark?
before doing that I would refactor your benchmark to be simpler, correct, and more reusable.
@plokhotnyuk Sounds great! What do you find to be not correct with this benchmark?
I think we should follow the best JMH practices, avoid measuring redundant virtual calls, null
and instanceof
checks.
I guess it's not working on JDK 17.