Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
I am willing to accept that perhaps FXMark is written so poorly that it does not permit JavaFX to perform as well as it could (possibly significantly so) on any particular platform. And I am indeed going through the code line-by-line and doing all manner of profiling to try to answer this

Re: Scene graph performance

2016-07-21 Thread Scott Palmer
> On Jul 21, 2016, at 6:18 PM, Richard Bair wrote: > > Hi Steve, > > It could be a benchmark problem, although I wouldn’t be surprised at all if > the benchmark was exercising the platform in some way that was CPU limited. > Assuming it is CPU limited (and not going

Re: Scene graph performance

2016-07-21 Thread Hervé Girod
We use a lot of Nodes which we update dynamically from another Client App. We also use JavaFX animations, but admittedly not a lot of them concurrently. In our case JavaFX animations are mainly linked to user interactions, a lot of what is dynamic in our apps is directly a result of real data

Re: Scene graph performance

2016-07-21 Thread Richard Bair
Hi Steve, It could be a benchmark problem, although I wouldn’t be surprised at all if the benchmark was exercising the platform in some way that was CPU limited. Assuming it is CPU limited (and not going multi-core), I think the problem really comes down to what Markus said: > The limiting

Re: Scene graph performance

2016-07-21 Thread Richard Bair
Hi Herve, Thanks for chiming in. I agree. From my own experience and benchmarking with other app-dev GUI toolkits, JavaFX performs very well for a very wide range of use cases. That being said, performance was always a passion of mine and I know there is more to be had. I like Kevin’s idea of

Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
I agree that the original question has led to a discussion of a somewhat different nature and I accept that the benchmark itself may be problematic. But others have reported similar observation using different benchmarks. > On 22 Jul 2016, at 07:42, Steve Hannah wrote: > >

Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
Are you using nodes, transitions, effects and animations? Or are you using the Canvas node only? > On 22 Jul 2016, at 07:33, Hervé Girod wrote: > > I really don't understand all this. We use Java FX 8 in a graphic framework > where we need high performance (prototyping

Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
Well, I'm putting my hand up for this. Kevin, would you like to discuss this with me on or offline? Felix P.S. Thanks Markus for your insight! > On 22 Jul 2016, at 04:22, Kevin Rushforth wrote: > > Yep. > > -- Kevin > > > Richard Bair wrote: >> I think you just

RE: Scene graph performance

2016-07-21 Thread Markus KARG
The limiting factor is the single-thread architecture of rather all parts of JavaFX. The only real difference you see between machines is not correlating with neither number of CPU cores nor GPU cores, but only with CPU frequency, roughly spoken. Short term fixes will only provide little

Re: Scene graph performance

2016-07-21 Thread Richard Bair
Have you guys profiled the application to see where the CPU time is spent? How many nodes in the app? In the past the majority of CPU time has been spent in one or more of the following (not sure if it still applies): - Computing changed bounds (a lot of work was done to speed this up, but I

review: Fix more hardcoded paths in gradle build

2016-07-21 Thread David Hill
Kevin, if you could review: https://bugs.openjdk.java.net/browse/JDK-8162114 webrev: http://cr.openjdk.java.net/~ddhill/8162114 -- David Hill Java Embedded Development "A man's feet should be planted in his country, but

Re: Memory leaks on Linux with hardware renderer

2016-07-21 Thread Kevin Rushforth
Thanks. I added this to the bug report for https://bugs.openjdk.java.net/browse/JDK-8161911 -- Kevin Rahman USTA wrote: Hello Kevin; One of our user reported "Must be a memory leak somewhere" in AsciidocFX project. It seems a similar issue. You can see the issue here

Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
I would add that neither JOGL nor LWJGL have these issues. Yes, I know they are somewhat different "animals", but the point is, clearly *Java* is NOT the cause. > On 21 Jul 2016, at 20:07, Dr. Michael Paus wrote: > > Hi Felix, > I have written various tests like the ones you

Re: Scene graph performance

2016-07-21 Thread Felix Bembrick
Hi Michael, Thanks for your response. This is what I suspected: what is ostensibly a hardware accelerated toolkit seems to barely utilise the GPU for scene graph animations. But, even with that, my machine has dual high performance 16-core Xeons while my wife's machine has a single 2-core i5

Re: Scene graph performance

2016-07-21 Thread Dr. Michael Paus
Hi Felix, I have written various tests like the ones you use in FXMark and I have obtained similar results. I have even tried to substitute 2D shapes by using 3D MeshViews in the hope that this would give better performance but the results were not that good. Of course all this depends on the

Re: Memory leaks on Linux with hardware renderer

2016-07-21 Thread Rahman USTA
Hello Kevin; One of our user reported "Must be a memory leak somewhere" in AsciidocFX project. It seems a similar issue. You can see the issue here https://github.com/asciidocfx/AsciidocFX/issues/227 Thanks. 2016-07-21 2:38 GMT+03:00 Kevin Rushforth : > I'll add a