|4 months ago
|10 days ago
|BSD 3-clause "New" or "Revised" License
|Apache License 2.0
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
The Newest Java Json Benchmark Results just dropped
Afaik dsl-json came up with a lot of improvements and inspired a several other libraries like JsonIter and jsonIter-scala. Jsoniter-scala by u/plokhotnyuk is probably the most optimized JSON library on the JVM at this point, and seems to power most of the Scala ecosystem. Some implementations/optimizations eventually made their way back into Jackson and other libraries.
dsljson for the win.
The state of Java Object Serialization libraries in Q2 2023
5 projects | /r/java | 7 Apr 2023
You gotta at least add the top contender. I mean dsl-json is probably the fastest json lib java has to offer. I personally like Rob's avaje-jsonb, because I think the approach of no reflection, and doing everything via annotation processing is rad. (it also has some decent speed too)
I benchmarked kotlin rust and go. The results will shock you , or not.
4 projects | /r/Kotlin | 15 Jan 2023
Have you tried dsl-json instead of jsoniter? Should be faster.
Performance of 12 JSON parsers for Scala
9 projects | /r/scala | 29 Mar 2021
I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json
ActiveInject. Fast and Lightweight Dependency Injection Library
At the same time it’s thoroughly optimized with all the dependencies graph preprocessing performed at startup time. According to the benchmarks, in some scenarios ActiveInject is 5.5 times faster than Guice and hundreds of times faster than Spring DI. You can check the benchmark sources here.
Here we’ve created an AbstractModule named cookbook that contains all the required bindings, or “recipes”, for the ingredients. Call Injector.getInstance method to get an instance of the Cookie.
How does it work from the inside? Injector provides all the required dependencies for the component recursively traversing the dependencies graph in a postorder way. So it first created Sugar, Butter and Flour, the next was Pastry, and finally a Cookie.
Scope creates “local singletons” which live as long as the scope itself. ActiveInject scopes are a bit different from other DI libraries. The internal structure of the Injector is a prefix tree and the prefix is a scope. If you create an Injector that is set to a particular scope, it means that Injector enters this scope. This can be done several times, so that there are multiple injectors in a single scope.
What are some alternatives?
jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
jbpm - a Business Process Management (BPM) Suite
Firefly - Firefly is an asynchronous web framework for rapid development of high-performance web application.
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Play JSON - The Play JSON library
rpc-bench - RPC Benchmark of gRPC, Aeron and KryoNet
opentest - Open source test automation tool for web applications, mobile apps and APIs
Seata - :fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
rsp - A simple Java web framework for building real-time user interfaces and UI components.
Josson & Jossons - A complete query and transformation language for JSON and a template engine to generate text output.
borer - Efficient CBOR and JSON (de)serialization in Scala