Skip to content

Commit

Permalink
runbench: fix omission when changing GC profiling summary text
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Feb 16, 2015
1 parent 3f99ef5 commit 4706483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/runbench.d
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void runTests(Config cfg)
auto tgt = bin.setExtension("gcx.log");
rename("gcx.log", tgt);
auto lines = File(tgt, "r").byLine()
.find!(ln => ln.canFind("maxPoolMemory"));
.find!(ln => ln.canFind("GC summary:"));
if (!lines.empty) gcprof = lines.front.find("GC summary:")[11..$].idup;
}
else
Expand Down

0 comments on commit 4706483

Please sign in to comment.