Artem, I don't think you can blame the slowness of WebView and famo.usentirely on the lack of JIT as the 64-bit Qt WebView is also based on WebKit and that site peforms extremely well with it.
On 25 July 2013 20:21, Felix Bembrick <felix.bembr...@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.anan...@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.b...@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.b...@oracle.com> >>>> wrote: >>>> >>>> Doh, that's just what you said :-) >>>>> >>>>> On Jul 23, 2013, at 3:49 PM, Richard Bair <richard.b...@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? >>>>>> >>>>> >>>>> >>>> >>>> >