mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.benchmarks
git-svn-id: svn://ultimatepp.org/upp/trunk@6470 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
296fbb7226
commit
d8aeb53585
3 changed files with 41 additions and 0 deletions
5
benchmarks/sizeof_gui/init
Normal file
5
benchmarks/sizeof_gui/init
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifndef _sizeof_gui_icpp_init_stub
|
||||
#define _sizeof_gui_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#include "RichEdit/init"
|
||||
#endif
|
||||
26
benchmarks/sizeof_gui/main.cpp
Normal file
26
benchmarks/sizeof_gui/main.cpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
#include <RichEdit/RichEdit.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_FILE|LOG_COUT);
|
||||
|
||||
RDUMP(sizeof(Image));
|
||||
RDUMP(sizeof(RichText));
|
||||
RDUMP(sizeof(Ctrl));
|
||||
RDUMP(sizeof(Button));
|
||||
RDUMP(sizeof(Switch));
|
||||
RDUMP(sizeof(Label));
|
||||
RDUMP(sizeof(EditField));
|
||||
RDUMP(sizeof(EditString));
|
||||
RDUMP(sizeof(EditIntSpin));
|
||||
RDUMP(sizeof(ArrayCtrl));
|
||||
RDUMP(sizeof(TreeCtrl));
|
||||
RDUMP(sizeof(TreeCtrl::Node));
|
||||
RDUMP(sizeof(FileSel));
|
||||
RDUMP(sizeof(RichTextView));
|
||||
RDUMP(sizeof(ColumnList));
|
||||
RDUMP(sizeof(RichEdit));
|
||||
}
|
||||
10
benchmarks/sizeof_gui/sizeof_gui.upp
Normal file
10
benchmarks/sizeof_gui/sizeof_gui.upp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
uses
|
||||
CtrlLib,
|
||||
RichEdit;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI SSE2";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue