JIT-производительность LLVM

Может ли кто-нибудь предоставить данные, показывающие производительность вывода кода JIT llvm, скажем, по сравнению со статической компиляцией с -O3? Лучше, чтобы такую ​​производительность продемонстрировал спек-бенчмарк. Люди говорят, что вывод кода JIT выполняется медленно. Мне просто любопытно, насколько это медленно.

У меня простой макет:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent">
    <LinearLayout android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:padding="5dp"
                  android:id="@+id/acquiring_signal_layout">
        <ProgressBar android:id="@+id/ProgressBar01"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"/>
        <TextView android:id="@+id/acquiring_signal_label"
                  android:text="@string/acquiring_signal"
                  android:layout_width="fill_parent"
                  android:textAppearance="?android:attr/textAppearanceLarge"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center_vertical"
                  android:paddingLeft="5dp"/>
    </LinearLayout>
    <com.google.android.maps.MapView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/mapview"
        android:clickable="true"
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:apiKey="..."
        android:layout_weight="1"/>
    <Button
        android:text="@string/send_button"
        android:id="@+id/SendButton"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">
    </Button>
</LinearLayout>

Он отлично работает, кроме при рендеринге кнопка внизу имеет несколько (примерно 5, я полагаю) пикселей черного поля / пространства вокруг нее. Установка поля кнопки, похоже, не влияет. Что происходит?

5
задан Ken Kinder 13 January 2011 в 15:59
поделиться