mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
19 lines
328 B
C++
19 lines
328 B
C++
|
#include <benchmark/benchmark.h>
|
||
|
#include <QApplication>
|
||
|
#include <QtConcurrent>
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
QApplication app(argc, argv);
|
||
|
|
||
|
::benchmark::Initialize(&argc, argv);
|
||
|
|
||
|
QtConcurrent::run([&app] {
|
||
|
::benchmark::RunSpecifiedBenchmarks();
|
||
|
|
||
|
app.exit(0);
|
||
|
});
|
||
|
|
||
|
return app.exec();
|
||
|
}
|