tests/wxHMI/HMI@wxglade_hmi/hmi.wxg.bak
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 25 May 2018 18:34:05 +0300
changeset 2168 a66062a205ae
parent 1461 954d1f42d42d
permissions -rw-r--r--
Build by default with optimization level -O2 for GCC

before -O0 was used by default, that caused pretty bad performance.

Amd64, i6700k, 4200MHz, GNU/Linux (non-RT kernel), gcc 7.2.0

-------------------------------------
Optimization | EN/ENO |no EN/ENO |
-------------------------------------
default | 11 | 9.5 |
-O3 | 3.9 | 5.2 |
-O2 | 4 | 4.8 |
-Os | 4.1 | 3.5 |
-Ofast | 3.9 | 5.2 |
-------------------------------------

ARM, BBB Cortex-A8, 600Mhz, GNU/Linux, gcc 4.6.3

-------------------------------------
Optimization | EN/ENO |no EN/ENO |
-------------------------------------
default | 273 | 226 |
-O3 | 141.8 | 106.2 |
-O2 | 142 | 107 |
-Os | 152.5 | 112.2 |
-Ofast | 141.7 | 106.2 |
-------------------------------------

For embedded systems with size constaints (like Cortex-Mx, AVR and so
on) I usually use -Os. It gets pretty good results. For
GNU/Linux-based systems -O2 is usually a good choice, as you see the
test results.
1461
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     1
<?xml version="1.0"?>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     2
<!-- generated by wxGlade HG on Wed Oct 02 23:48:24 2013 -->
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     3
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     4
<application path="" name="" class="" option="0" language="python" top_window="wxglade_hmi" encoding="UTF-8" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0" indent_amount="4" indent_symbol="space" source_extension=".cpp" header_extension=".h">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     5
    <object class="Class_wxglade_hmi" name="wxglade_hmi" base="EditFrame">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     6
        <style>wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE|wxMAXIMIZE_BOX|wxSYSTEM_MENU|wxRESIZE_BORDER|wxCLIP_CHILDREN</style>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     7
        <title>frame_1</title>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     8
        <object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
     9
            <hgap>0</hgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    10
            <growable_rows>0</growable_rows>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    11
            <rows>1</rows>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    12
            <growable_cols>0</growable_cols>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    13
            <cols>2</cols>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    14
            <vgap>0</vgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    15
            <object class="sizeritem">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    16
                <flag>wxEXPAND</flag>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    17
                <border>0</border>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    18
                <option>1</option>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    19
                <object class="ThreeDee" name="window_1" base="CustomWidget">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    20
                    <arguments>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    21
                        <argument>$parent</argument>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    22
                        <argument>$id</argument>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    23
                    </arguments>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    24
                    <size>400,400</size>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    25
                </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    26
            </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    27
            <object class="sizeritem">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    28
                <flag>wxEXPAND</flag>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    29
                <border>0</border>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    30
                <option>1</option>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    31
                <object class="wxFlexGridSizer" name="sizer_1" base="EditFlexGridSizer">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    32
                    <hgap>0</hgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    33
                    <rows>2</rows>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    34
                    <cols>1</cols>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    35
                    <vgap>0</vgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    36
                    <object class="sizeritem">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    37
                        <flag>wxEXPAND</flag>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    38
                        <border>0</border>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    39
                        <option>1</option>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    40
                        <object class="wxBoxSizer" name="sizer_2" base="EditBoxSizer">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    41
                            <orient>wxVERTICAL</orient>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    42
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    43
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    44
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    45
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    46
                        </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    47
                    </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    48
                    <object class="sizeritem">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    49
                        <flag>wxEXPAND</flag>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    50
                        <border>0</border>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    51
                        <option>1</option>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    52
                        <object class="wxGridSizer" name="sizer_3" base="EditGridSizer">
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    53
                            <hgap>0</hgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    54
                            <rows>4</rows>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    55
                            <cols>2</cols>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    56
                            <vgap>0</vgap>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    57
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    58
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    59
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    60
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    61
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    62
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    63
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    64
                            <object class="sizerslot" />
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    65
                        </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    66
                    </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    67
                </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    68
            </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    69
        </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    70
    </object>
954d1f42d42d Added wxHMI test
Edouard Tisserant
parents:
diff changeset
    71
</application>