Use buffered output for ExactCallLogger
This commit is contained in:
parent
fa93681f51
commit
8288c30e36
|
|
@ -24,7 +24,7 @@ public class ExactCallLogger implements Cloneable {
|
||||||
*/
|
*/
|
||||||
public ExactCallLogger(final File outputFile) {
|
public ExactCallLogger(final File outputFile) {
|
||||||
try {
|
try {
|
||||||
callReport = new PrintStream(new FileOutputStream(outputFile));
|
callReport = new PrintStream(new BufferedOutputStream(new FileOutputStream(outputFile), 10000000));
|
||||||
callReport.println(Utils.join("\t", Arrays.asList("loc", "variable", "key", "value")));
|
callReport.println(Utils.join("\t", Arrays.asList("loc", "variable", "key", "value")));
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
throw new UserException.CouldNotCreateOutputFile(outputFile, e);
|
throw new UserException.CouldNotCreateOutputFile(outputFile, e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue