Skip to content

Commit

Permalink
Restore benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Freddi <drf@kde.org>
  • Loading branch information
drf committed Jan 10, 2010
1 parent e8e062a commit 6a1d796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libaqpm/tests/AqpmBenchmark.cpp
Expand Up @@ -63,9 +63,9 @@ void AqpmBenchmark::benchmark_RetrieveAllPackagesWhenCached()
void AqpmBenchmark::benchmark_GetPackage()
{
QBENCHMARK {
// Aqpm::Package *pkg = Aqpm::Backend::instance()->package("pacman", QString());
// QVERIFY(pkg);
// qDebug() << pkg->name() << pkg->desc() << pkg->database()->name();
Aqpm::Package *pkg = Aqpm::Backend::instance()->package("pacman", QString());
QVERIFY(pkg);
qDebug() << pkg->name() << pkg->desc() << pkg->database()->name();
}
}

Expand Down

0 comments on commit 6a1d796

Please sign in to comment.