What's New With 6.7.0
June 21, 2022
Here is a listing of all the major updates and improvements in this version.
This release brings in a complete re-architecture of the creation, inspection and wiring of objects in WireBox in order to increase performance. Every single line of code was optimized and analyzed in order to bring the creation, inspection and wiring of objects to its maximum speed. This will be noted more on the creation of transient (non-persisted) objects more than in singleton objects. So if you are asking WireBox for transient objects, you will see and feel the difference.
In some of our performance testing we had about 4000 object instantiations running between 500ms-1,100 ms depending on CPU load. While with simple
createObject()and no wiring, they click around 400-700 ms. Previously, we had the same instantiations clocking at 900-3,500 ms. So we can definitely see a major improvement in this area.
- WIREBOX-128 Injector now caches all object contains lookups to increase performance across hierarchy lookups
- WIREBOX-125 Remove the usage of identity hash codes, they are no longer relevant and can cause contention under load
- CACHEBOX-82 Remove the usage of identity hash codes, they are no longer relevant and can cause contention under load