Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.10.6
-
None
-
1
Description
cbc-cat is giving incorrect timings results on each run with the same input.
it depends on the number of documents inputed or the output (file/terminal) .
it seems like the timings is effected by the print time to the target- file or terminal.
for example:
cbc-cat -u Administrator -P password -U couchbase://localhost/bucket -y -T doc1 > f1.txt |
or
cbc-cat -u Administrator -P password -U couchbase://localhost/bucket -y -T doc1 |
would give the same results more or less
[1700 - 1799]us |######################################## - 1 |
but take the same command with more documents
cbc-cat -u Administrator -P password -U couchbase://localhost/bucket -y -T doc1 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 |
or
cbc-cat -u Administrator -P password -U couchbase://localhost/bucket -y -T doc1 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 doc1 doc2 doc3 > file.txt |
you will get totally different timings.
That
[3500 - 3599]us |## - 1 |
[3800 - 3899]us |## - 1 |
[4200 - 4299]us |## - 1 |
[4500 - 4599]us |## - 1 |
[4800 - 4899]us |## - 1 |
[5000 - 5099]us |## - 1 |
[5300 - 5399]us |## - 1 |
[5600 - 5699]us |## - 1 |
[5900 - 5999]us |## - 1 |
[6200 - 6299]us |## - 1 |
[6500 - 6599]us |## - 1 |
[6700 - 6799]us |## - 1 |
[7000 - 7099]us |## - 1 |
[7600 - 7699]us |## - 1 |
[7900 - 7999]us |## - 1 |
[8200 - 8299]us |## - 1 |
[8500 - 8599]us |## - 1 |
[8800 - 8899]us |## - 1 |
[9100 - 9199]us |## - 1 |
[9400 - 9499]us |## - 1 |
[9700 - 9799]us |## - 1 |
[10 - 19 ]ms |######################################## - 18 |
in comparison to that
[4800 - 4899]us |###### - 1 |
[4900 - 4999]us |#################### - 3 |
[5000 - 5099]us |############# - 2 |
[5100 - 5199]us |################################# - 5 |
[5200 - 5299]us |############# - 2 |
[5500 - 5599]us |###### - 1 |
[5700 - 5799]us |#################### - 3 |
[5800 - 5899]us |#################### - 3 |
[5900 - 5999]us |################################# - 5 |
[6000 - 6099]us |########################## - 4 |
[6100 - 6199]us |#################### - 3 |
[6200 - 6299]us |######################################## - 6 |
[6300 - 6399]us |###### - 1 |