| Index: courgette/third_party/bsdiff_create.cc
|
| ===================================================================
|
| --- courgette/third_party/bsdiff_create.cc (revision 63075)
|
| +++ courgette/third_party/bsdiff_create.cc (working copy)
|
| @@ -203,7 +203,7 @@
|
| SinkStream* patch_stream)
|
| {
|
| base::Time start_bsdiff_time = base::Time::Now();
|
| - LOG(INFO) << "Start bsdiff";
|
| + VLOG(1) << "Start bsdiff";
|
| size_t initial_patch_stream_length = patch_stream->Length();
|
|
|
| SinkStreamSet patch_streams;
|
| @@ -236,8 +236,8 @@
|
|
|
| base::Time q_start_time = base::Time::Now();
|
| qsufsort(I, V, old, oldsize);
|
| - LOG(INFO) << " done qsufsort "
|
| - << (base::Time::Now() - q_start_time).InSecondsF();
|
| + VLOG(1) << " done qsufsort "
|
| + << (base::Time::Now() - q_start_time).InSecondsF();
|
| V.clear();
|
|
|
| const uint8* newbuf = new_stream->Buffer();
|
| @@ -398,9 +398,9 @@
|
| control_stream_seeks->WriteVarint32Signed(seek_adjustment);
|
| ++control_length;
|
| #ifdef DEBUG_bsmedberg
|
| - LOG(INFO) << StringPrintf(
|
| - "Writing a block: copy: %-8u extra: %-8u seek: %+-9d",
|
| - copy_count, extra_count, seek_adjustment);
|
| + VLOG(1) << StringPrintf("Writing a block: copy: %-8u extra: %-8u seek: "
|
| + "%+-9d", copy_count, extra_count,
|
| + seek_adjustment);
|
| #endif
|
|
|
| lastscan = scan - lenb; // Include the backward extension in seed.
|
| @@ -427,17 +427,17 @@
|
| size_t diff_skips_length = diff_skips->Length();
|
| patch_streams.CopyTo(patch_stream);
|
|
|
| - LOG(INFO) << "Control tuples: " << control_length
|
| - << " copy bytes: " << diff_bytes_length
|
| - << " mistakes: " << diff_bytes_nonzero
|
| - << " (skips: " << diff_skips_length << ")"
|
| - << " extra bytes: " << extra_bytes_length;
|
| + VLOG(1) << "Control tuples: " << control_length
|
| + << " copy bytes: " << diff_bytes_length
|
| + << " mistakes: " << diff_bytes_nonzero
|
| + << " (skips: " << diff_skips_length << ")"
|
| + << " extra bytes: " << extra_bytes_length;
|
|
|
| - LOG(INFO) << "Uncompressed bsdiff patch size "
|
| - << patch_stream->Length() - initial_patch_stream_length;
|
| + VLOG(1) << "Uncompressed bsdiff patch size "
|
| + << patch_stream->Length() - initial_patch_stream_length;
|
|
|
| - LOG(INFO) << "End bsdiff "
|
| - << (base::Time::Now() - start_bsdiff_time).InSecondsF();
|
| + VLOG(1) << "End bsdiff "
|
| + << (base::Time::Now() - start_bsdiff_time).InSecondsF();
|
|
|
| return OK;
|
| }
|
|
|