A sample Qt5 application to test compiler speed with
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pch
.gitignore
CMakeLists.txt
actionprinter.cpp
actionprinter.h
coredefs.h
dbusdata.h
eventprinter.cpp
eventprinter.h
i-n-extractor.cpp
indicatoradaptor.cpp
indicatoradaptor.h
indicatorexporter.cpp
indicatorexporter.h
meson.build
nmaccesspoint.cpp
nmaccesspoint.h
nmactiveconnection.cpp
nmactiveconnection.h
nmconnsettings.cpp
nmconnsettings.h
nmdevice.cpp
nmdevice.h
nmmodem.cpp
nmmodem.h
nmroot.cpp
nmroot.h
nmsettings.cpp
nmsettings.h
nmwirelessdevice.cpp
nmwirelessdevice.h
numberadder.cpp
numberadder.h
ofonomodemconnectionmanager.cpp
ofonomodemconnectionmanager.h
ofonomodemmodem.cpp
ofonomodemmodem.h
ofonomodemnetworkregistration.cpp
ofonomodemnetworkregistration.h
ofonomodemsimmanager.cpp
ofonomodemsimmanager.h
ofononetworkoperator.cpp
ofononetworkoperator.h
ofonoroot.cpp
ofonoroot.h
qdbusdatatypes.h
readme.md
systemstate.cpp
systemstate.h
urfkillroot.cpp
urfkillroot.h
urfkillswitch.cpp
urfkillswitch.h

readme.md

Sample project for build speed comparison

This project contains a simple Qt5 application meant for testing compile speed.

The code was originally developed by Canonical as a network debugging tool. However in this project we only care about build performance, not what the application itself is doing.

The original code can be found here:

https://code.launchpad.net/~jpakkane/+junk/netdumpper

How to compile

Meson

mkdir buildmeson
cd buildmeson
meson ..
time ninja

Meson unity build

mkdir buildmu
cd buildmu
meson --unity --disable-pch ..
time ninja

CMake

mkdir builcmake
cd buildcmake
cmake -DCMAKE_BUILD_TYPE=debug -G Ninja ..
time ninja

Build times on Raspberry Pi 2

CMake               2m 20s
Meson               1m 36s
Meson unity build      39s