wxWidgets/tests/benchmarks/bench.bkl
Vadim Zeitlin d6793893c0 Add a simple benchmark of wxDisplaySize() and related functions
This benchmark shows that wxGetDisplaySize() has only minimal overhead
compared to wxDisplaySize(), but wxDisplay().GetGeometry() is almost 3
times slower (under wxGTK).
2018-09-30 00:38:27 +02:00

69 lines
1.6 KiB
XML

<?xml version="1.0" ?>
<makefile>
<include file="../../build/bakefiles/common_samples.bkl"/>
<template id="wx_bench">
</template>
<exe id="bench" template="wx_sample_console,wx_bench"
template_append="wx_append_base">
<sources>
bench.cpp
datetime.cpp
htmlparser/htmlpars.cpp
htmlparser/htmltag.cpp
ipcclient.cpp
log.cpp
mbconv.cpp
strings.cpp
tls.cpp
printfbench.cpp
</sources>
<wx-lib>net</wx-lib>
<wx-lib>base</wx-lib>
</exe>
<wx-data id="data">
<files>htmltest.html</files>
</wx-data>
<exe id="bench_gui" template="wx_sample,wx_bench"
template_append="wx_append"
cond="USE_GUI=='1'">
<app-type>console</app-type>
<sources>
bench.cpp
display.cpp
image.cpp
</sources>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
</exe>
<exe id="bench_graphics" template="wx_sample,wx_bench"
template_append="wx_append"
cond="USE_GUI=='1'">
<app-type>console</app-type>
<sources>
graphics.cpp
</sources>
<wx-lib>core</wx-lib>
<wx-lib>base</wx-lib>
<wx-lib>gl</wx-lib>
</exe>
<wx-data id="data-image">
<files>
../../samples/image/horse.bmp
../../samples/image/horse.jpg
../../samples/image/horse.png
../../samples/image/horse.tif
</files>
</wx-data>
</makefile>