2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Remove benchmarks.

This commit is contained in:
John Preston
2019-05-17 18:49:42 +03:00
parent 630c07391c
commit 68fb9b8b67
2 changed files with 0 additions and 10 deletions

View File

@@ -193,7 +193,6 @@ void SharedState::renderFrame(
if (!GoodStorageForFrame(image, size)) {
image = CreateFrameStorage(size);
}
const auto now = crl::now();
image.fill(Qt::transparent);
QPainter p(&image);
@@ -213,13 +212,8 @@ void SharedState::renderFrame(
_scene.endFrame() - 1);
_scene.updateProperties(frame);
const auto updated = crl::now();
RasterRenderer renderer(&p);
_scene.render(renderer, frame);
const auto finished = crl::now();
LOG(("RENDERED: %1 (UPDATE %2)").arg(finished - now).arg(updated - now));
}
void SharedState::init(QImage cover) {