WebView capabilities review

Artem Ananiev artem.ananiev at oracle.com
Thu Jul 25 05:01:33 PDT 2013


On 7/25/2013 3:06 PM, Felix Bembrick wrote:
> Artem, I don't think you can blame the slowness of WebView and famo.us
> <http://famo.us> entirely on the lack of JIT as the 64-bit Qt WebView is
> also based on WebKit and that site peforms extremely well with it.

Sure, there may be other reasons of slowness than the lack of JIT 
compilation on 64-bit Windows.

Thanks,

Artem

> On 25 July 2013 20:21, Felix Bembrick <felix.bembrick at gmail.com
> <mailto:felix.bembrick at gmail.com>> wrote:
>
>     I have noticed something curious.
>
>     When I run the impact.js demo that Klaus posted a link to I see a
>     very smooth animation.  The curious part is that on this same
>     machine I see noticeable flicker and jittering when I run even the
>     most simple JavaFX animation and have never seen one that performs
>     as smoothly as the impact.js demo within WebView.  Also, the
>     impact.js demo runs very smoothly even when I run the WebView maximised.
>
>     OK, so now I know that it can't be the actual graphics hardware or
>     driver that cause JavaFX animations to flicker and clearly JavaFX
>     *can* render animated content without jittering so why then do
>     simple animations (such as those from Ensemble) perform so poorly?
>
>
>     On 25 July 2013 02:02, Artem Ananiev <artem.ananiev at oracle.com
>     <mailto:artem.ananiev at oracle.com>> wrote:
>
>
>         On 7/24/2013 2:55 AM, Felix Bembrick wrote:
>
>             Windows 7 64-bit here.
>
>
>         On this platform, JavaFX web component is compiled without JIT
>         support for JavaScript:
>
>         https://javafx-jira.kenai.com/__browse/RT-24998
>         <https://javafx-jira.kenai.com/browse/RT-24998>
>
>         It explains why it is slow, but it doesn't explain rendering
>         artifacts.
>
>         Thanks,
>
>         Artem
>
>
>             On 24 July 2013 08:53, Richard Bair <richard.bair at oracle.com
>             <mailto:richard.bair at oracle.com>> wrote:
>
>                 I've filed
>                 https://javafx-jira.kenai.com/__browse/RT-31885
>                 <https://javafx-jira.kenai.com/browse/RT-31885>, lets
>                 see how
>                 that turns out.
>
>                 Richard
>
>                 On Jul 23, 2013, at 3:49 PM, Richard Bair
>                 <richard.bair at oracle.com
>                 <mailto:richard.bair at oracle.com>> wrote:
>
>                     Doh, that's just what you said :-)
>
>                     On Jul 23, 2013, at 3:49 PM, Richard Bair
>                     <richard.bair at oracle.com
>                     <mailto:richard.bair at oracle.com>>
>
>                 wrote:
>
>
>                         I'm not seeing anything at all, beyond a fuzzy
>                         background image
>
>                 (similar app to yours):
>
>
>                         import javafx.application.__Application;
>                         import javafx.scene.Scene;
>                         import javafx.scene.web.WebView;
>                         import javafx.stage.Stage;
>
>                         public class HelloWebView extends Application {
>                             @Override public void start(Stage stage)
>                         throws Exception {
>                                 WebView web = new WebView();
>                                 web.getEngine().load("http://__famo.us/
>                         <http://famo.us/>");
>                                 Scene scene = new Scene(web);
>                                 stage.setScene(scene);
>                                 stage.setTitle("HelloWebView")__;
>                                 stage.show();
>                             }
>
>                             public static void main(String[] args) {
>                                 launch(args);
>                             }
>                         }
>
>                         I'm on Mac. What OS are you running on?
>
>
>
>
>
>


More information about the openjfx-dev mailing list