d6793893c0
This benchmark shows that wxGetDisplaySize() has only minimal overhead compared to wxDisplaySize(), but wxDisplay().GetGeometry() is almost 3 times slower (under wxGTK).
69 lines
1.6 KiB
XML
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>
|