File indexing completed on 2025-02-09 05:01:41
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Boudewijn Rempt boud @valdyas.org 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_DATAMANAGER_BENCHMARK_H 0008 #define KIS_DATAMANAGER_BENCHMARK_H 0009 0010 #include <simpletest.h> 0011 0012 class KisDatamanagerBenchmark : public QObject 0013 { 0014 Q_OBJECT 0015 0016 private Q_SLOTS: 0017 0018 void initTestCase(); 0019 void benchmarkCreation(); 0020 void benchmarkWriteBytes(); 0021 void benchmarkReadBytes(); 0022 void benchmarkReadWriteBytes(); 0023 void benchmarkReadWriteBytes2(); 0024 void benchmarkExtent(); 0025 void benchmarkClear(); 0026 void benchmarkMemCpy(); 0027 }; 0028 0029 #endif