You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The impact is that the PicoFactory.start() method takes 3.2% of the total CPU time on my project with 446 test scenarios (about 170 ms).
This operation is slow because the picocontainer library inspects all classes at each container creation (see picocontainer/picocontainer#11).
✅ What did you expect to see?
I expect that picocontainer impact is not noticeable on the total CPU time.
This could be done easily by reusing the container in PicoFactory (the picocontainer library cannot be corrected because it is not maintained anymore since 2015).
📦 Which tool/library version are you using?
Cucumber JVM 7.11.2.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
Run any cucumber test based on picocontainer with consequent number of test scenarios (>100) with the IntelliJ Profiler
Look the IntelliJ Profiler and look for PicoFactory.start() method : the flame graph tells the percentage of total CPU
👓 What did you see?
When using the picocontainer, the picocontainer container is fully reconstructed for each test-case:
The impact is that the
PicoFactory.start()
method takes 3.2% of the total CPU time on my project with 446 test scenarios (about 170 ms).This operation is slow because the picocontainer library inspects all classes at each container creation (see picocontainer/picocontainer#11).
✅ What did you expect to see?
I expect that picocontainer impact is not noticeable on the total CPU time.
This could be done easily by reusing the container in
PicoFactory
(the picocontainer library cannot be corrected because it is not maintained anymore since 2015).📦 Which tool/library version are you using?
Cucumber JVM 7.11.2.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
PicoFactory.start()
method : the flame graph tells the percentage of total CPU📚 Any additional context?
The picocontainer library 2.x has not been updated since 2014 (http://picocontainer.com/). There is an unreleased picocontainer 3.x project which has no activity since 2014 as well (https://github.com/picocontainer/picocontainer).
The text was updated successfully, but these errors were encountered: