Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently, surefire creates a new byte array with size of the input *3 for saving the unescaped input. This made surefire way slower than running a test directly in eclipse or with gradle, if it used standardout or error heavily.
By using a list for saving the elements and converting them to an array afterwards, this problem is solved, and stdout-heavy surefire tests get faster.