summaryrefslogtreecommitdiffstats
path: root/searchlib/src
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-09-03 10:34:09 +0000
committerGeir Storli <geirst@verizonmedia.com>2019-09-03 11:20:27 +0000
commitd57af299f9ff99519a83a3d2561a40d6a25db47c (patch)
tree752cb0b2554712d1fa5edbdc6858f6bbf1047a44 /searchlib/src
parent04a2261612f392c3eb53ddc247ad38304639b725 (diff)
Remove debug logging.
Diffstat (limited to 'searchlib/src')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/stringbase.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/stringbase.cpp b/searchlib/src/vespa/searchlib/attribute/stringbase.cpp
index f393af6b208..4ed9ae0d29b 100644
--- a/searchlib/src/vespa/searchlib/attribute/stringbase.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/stringbase.cpp
@@ -332,20 +332,8 @@ StringAttribute::onLoadEnumerated(ReaderBase &attrReader)
numDocs = numValues;
}
- LOG(debug,
- "StringAttribute::onLoadEnumerated: attribute '%s' %u docs, %u values",
- getBaseFileName().c_str(),
- (unsigned int) numDocs,
- (unsigned int) numValues);
EnumIndexVector eidxs;
- FastOS_Time timer;
- FastOS_Time timer0;
- timer0.SetNow();
- LOG(debug, "start fillEnum0");
- timer.SetNow();
fillEnum0(udatBuffer->buffer(), udatBuffer->size(), eidxs);
- LOG(debug, "done fillEnum0, %u unique values, %8.3f s elapsed",
- (unsigned int) eidxs.size(), timer.MilliSecsToNow() / 1000);
setNumDocs(numDocs);
setCommittedDocIdLimit(numDocs);
LoadedEnumAttributeVector loaded;
@@ -355,49 +343,23 @@ StringAttribute::onLoadEnumerated(ReaderBase &attrReader)
} else {
EnumVector(eidxs.size(), 0).swap(enumHist);
}
- timer.SetNow();
- LOG(debug, "start fillEnumIdx");
if(hasPostings()) {
load_enumerated_data(attrReader, eidxs, loaded);
} else {
load_enumerated_data(attrReader, eidxs, enumHist);
}
- LOG(debug, "done fillEnumIdx, %8.3f s elapsed",
- timer.MilliSecsToNow() / 1000);
EnumIndexVector().swap(eidxs);
if (hasPostings()) {
- LOG(debug, "start sort loaded");
- timer.SetNow();
-
attribute::sortLoadedByEnum(loaded);
-
- LOG(debug, "done sort loaded, %8.3f s elapsed", timer.MilliSecsToNow() / 1000);
-
- LOG(debug, "start fillPostingsFixupEnum");
- timer.SetNow();
-
if (numDocs > 0) {
onAddDoc(numDocs - 1);
}
fillPostingsFixupEnum(loaded);
-
- LOG(debug, "done fillPostingsFixupEnum, %8.3f s elapsed",
- timer.MilliSecsToNow() / 1000);
} else {
- LOG(debug, "start fixupEnumRefCounts");
- timer.SetNow();
-
fixupEnumRefCounts(enumHist);
-
- LOG(debug, "done fixupEnumRefCounts, %8.3f s elapsed",
- timer.MilliSecsToNow() / 1000);
}
-
- LOG(debug, "attribute '%s', loaded, %8.3f s elapsed",
- getBaseFileName().c_str(),
- timer0.MilliSecsToNow() / 1000);
return true;
}