Web lists-archives.com

Re: Review Request 129185: [baloo] Add a small benchmark for PostingCodec::encode()

This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129185/

tests/benchmarks/positioncodectest.cpp (Diff revision 1)
  QElapsedTimer timer;

You can use QBENCHMARK_ONCE and QBENCHMARK for some of this.

- Aleix Pol Gonzalez

On October 14th, 2016, 10:57 p.m. CEST, Christian Ehrlicher wrote:

Review request for Baloo.
By Christian Ehrlicher.

Updated Oct. 14, 2016, 10:57 p.m.

Repository: baloo


This small test is used to test if the changes inside PostingCodec::encode() do not break anything. It also does some benchmarking to show the speedup.


  • tests/benchmarks/CMakeLists.txt (0d74718)
  • tests/benchmarks/positioncodectest.cpp (PRE-CREATION)

View Diff