Closed GiovaniGuizzo closed 4 years ago
I added two new commits (c9b57eb and e1dcfd6).
The first commit fixes a bug in which a line break in Windows would not be recognised (it uses \r\n) during the Trace parsing.
The second commit is a performance improvement. At each writing of files using the samplers, the CSV output stream was being opened and closed. This happened for each new line and it was causing this:
The stream writing and closing was taking as much time as the test execution. With my modification, the output stream is kept open until the end of the "sampleMethods()" execution, preventing constant open, flush, and close of files.
EDIT:
This is the result after the last commit. Both images show the execution of gin in joda-time with ~4.2k test cases.
My modifications can be broken down into three:
I have also auto-formatted the code of the classes I modified, thus the diff contains some white/trailing space removal, indentation fixes, and unused imports removal.