mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Commented performance measuring code from folder content controller.
This commit is contained in:
parent
169c6c16dd
commit
0f9396ea9e
@ -39,7 +39,7 @@ void FolderContentController::service(HttpRequest& request, HttpResponse& respon
|
||||
|
||||
void FolderContentController::serviceContent(const int &library, const qulonglong &folderId, HttpResponse &response)
|
||||
{
|
||||
clock_t begin = clock();
|
||||
//clock_t begin = clock();
|
||||
|
||||
QList<LibraryItem *> folderContent = DBHelper::getFolderSubfoldersFromLibrary(library,folderId);
|
||||
QList<LibraryItem *> folderComics = DBHelper::getFolderComicsFromLibrary(library,folderId);
|
||||
@ -65,8 +65,8 @@ void FolderContentController::serviceContent(const int &library, const qulonglon
|
||||
}
|
||||
}
|
||||
|
||||
clock_t end = clock();
|
||||
/*clock_t end = clock();
|
||||
double msecs = double(end - begin);
|
||||
|
||||
response.write(QString("%1ms").arg(msecs).toUtf8());
|
||||
response.write(QString("%1ms").arg(msecs).toUtf8());*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user