Merge pull request #8477 from graydon/rdar-30961871-metrics-mark-2

This commit is contained in:
swift-ci
2017-04-03 20:39:16 -07:00
committed by GitHub
14 changed files with 416 additions and 17 deletions

View File

@@ -4526,7 +4526,7 @@ void swift::serialize(ModuleOrSourceFile DC,
bool hadError = withOutputFile(getContext(DC), options.OutputPath,
[&](raw_ostream &out) {
SharedTimer timer("Serialization (swiftmodule)");
SharedTimer timer("Serialization, swiftmodule");
Serializer::writeToStream(out, DC, M, options);
});
if (hadError)
@@ -4535,7 +4535,7 @@ void swift::serialize(ModuleOrSourceFile DC,
if (options.DocOutputPath && options.DocOutputPath[0] != '\0') {
(void)withOutputFile(getContext(DC), options.DocOutputPath,
[&](raw_ostream &out) {
SharedTimer timer("Serialization (swiftdoc)");
SharedTimer timer("Serialization, swiftdoc");
Serializer::writeDocToStream(out, DC, options.GroupInfoPath,
getContext(DC));
});