Re: [MSEide-MSEgui-talk] Benchmark

2013-04-12 Thread Graeme Geldenhuys
On 2013-04-11 06:16, Martin Schreiber wrote:
 Looks good, can you post the code somewhere? You work with Lazarus too AFAIK, 
 can you make a a similar thing with Lazarus?

I don't use LCL, only the Lazarus IDE (because MSEide doesn't run on
FreeBSD wink).

On a side note:
 I installed the Linux Compatibility Layer under FreeBSD, so now I
should be able to run MSEide (32-bit) again. But I haven't installed a
32-bit Linux FPC yet.


 How is scrolling the 10'000 buttons form? I had to optimize MSEgui children 
 clipping code in order to make the scrolling smooth. fpGUI uses X11 server 
 side clipping AFAIK, how does it behave?


fpGUI doesn't have scrolling form, but I could modify the app to create
the buttons in a scrolling widget. Child clipping normally works well
under fpGUI. If I get some more spare time, I'll modify the 10,000
button demo.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-11 Thread Martin Schreiber
Am 10.04.2013 21:32, schrieb Ivanko B:
 1000 FPS on updated Animation
 ===
 without MMTIMER : max 3% CPU  GPU  slow movement
 with MMTIMER : max 2% of CPU  max 12% of GPU  fast movement

On Windows 2000 I get 0..3% CPU load with 100 FPS depending if the 
button is shadowed by the red widget (on Windows color mask blending 
must be done by MSEgui). With 1000 FPS CPU load is about 40%. Not bad at 
all for this old computer. :-)

Martin

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Graeme Geldenhuys
On 2013-04-10 13:42, Martin Schreiber wrote:
 
 Currently there is a discussion about performace of FireMonkey framework.

Do you have a link to that message thread? Or if it is in the
Embarcadero newsgroups, what news group, and the title of the thread.

What is the performance of FireMonkey vs VCL? You only gave your
results, but how does it compare with FireMonkey or VCL?


 Now I am very interested how other toolkits (Lazarus, fpGUI, Qt, GTK, 
 LPTK...) behave with similar applications. Please report your findings.

No problems with fpGUI. I'll create the apps and post the results. I
just need a gap in my work time.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Martin Schreiber
On Wednesday 10 April 2013 16:16:23 Graeme Geldenhuys wrote:
 On 2013-04-10 13:42, Martin Schreiber wrote:
  Currently there is a discussion about performace of FireMonkey framework.

 Do you have a link to that message thread? Or if it is in the
 Embarcadero newsgroups, what news group, and the title of the thread.

https://forums.embarcadero.com/thread.jspa?threadID=85426tstart=0

 What is the performance of FireMonkey vs VCL? You only gave your
 results, but how does it compare with FireMonkey or VCL?

There are no numbers, FireMonkey is not very good.

Martin

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Ivanko B
1. MSEgui:

Animation :

(0..1)% both GPU  each of 2 CPU even  for 1000 FPS = miserable load.

100 lines grid

Scrolling with max speed : 15..17% of GPU  50..60% of each CPU.
Resizing with max speed: 20..30%  of each of CPU, 5..33% of GPU

1 design time buttons

Resizing the form: 10% of CPU1  90% of CPU2, 3..20% of GPU

H/W: E8400 + HD6850 + 4G DDR3
S/W: Win7 x86_64

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Martin Schreiber
On Wednesday 10 April 2013 20:10:36 Ivanko B wrote:
 1. MSEgui:

 Animation :
 
 (0..1)% both GPU  each of 2 CPU even  for 1000 FPS = miserable load.

On Windows? Please try again with the new version 
(c631a10091f3e36040ff509beca8c0755d07ff4e) of the animation benchmark with 
activated 'mmtimer' switch, the old version used the default Windows timer 
which has a maximal resolution of 10ms only so probably 100 FPS max.

 1 design time buttons
 

There is a benchmark with 1000 design time and another with 10'000 runtime 
butons. Which one is it?

Martin

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Ivanko B
1000 FPS on updated Animation
===
without MMTIMER : max 3% CPU  GPU  slow movement
with MMTIMER : max 2% of CPU  max 12% of GPU  fast movement

There is a benchmark with 1000 design time and another with 10'000 runtime
butons. Which one is it?
=
The design time one.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Graeme Geldenhuys
On 2013-04-10 13:42, Martin Schreiber wrote:
 Now I am very interested how other toolkits (Lazarus, fpGUI, Qt, GTK, 
 LPTK...) behave with similar applications. Please report your findings.

I couldn't see the original FireMonkey or VCL test applications and
code. Downloading the zip archive is disabled on QC for some reason.

Anyway, here is the fpGUI results... clearly way better than FireMonkey.

StringGrid with million rows by 20 columns:
  Grid creation: 1.2s
  Application startup:   1.5s  (which includes the grid creation)
  Scrolling etc is instant.
http://opensoft.homeip.net/~graemeg/stringgrid_million_by_20.png

I tested the fpGUI StringGrid before against LCL's one. The latter was
extremely slow. With fpGUI's stringgrid there is also no difference if I
create for example 8 million rows or 8 million columns.

On to the next one. fpGUI doesn't have design time vs runtime. The
fpGUI form designer creates Object Pascal code - so components are
always created at runtime.

1000 buttons with text:
  Button creation speed:   0.005s
  Application startup: less than a second
  Application is instantly responsive.
http://opensoft.homeip.net/~graemeg/1000_buttons.png


10,000 buttons without text:
  Button creation speed:   0.348s
  Application startup: 1.5s until fully painted
http://opensoft.homeip.net/~graemeg/1_buttons.png


I tested under FreeBSD 9.1 (64-bit) with a non-accelerated VESA X11
driver using the integrated GPU of a i7 running at 3.5Ghz.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Benchmark

2013-04-10 Thread Martin Schreiber
On Thursday 11 April 2013 02:31:10 Graeme Geldenhuys wrote:
 On 2013-04-10 13:42, Martin Schreiber wrote:
  Now I am very interested how other toolkits (Lazarus, fpGUI, Qt, GTK,
  LPTK...) behave with similar applications. Please report your findings.

 I couldn't see the original FireMonkey or VCL test applications and
 code. Downloading the zip archive is disabled on QC for some reason.

 Anyway, here is the fpGUI results... clearly way better than FireMonkey.

 StringGrid with million rows by 20 columns:
   Grid creation: 1.2s
   Application startup:   1.5s  (which includes the grid creation)
   Scrolling etc is instant.
 http://opensoft.homeip.net/~graemeg/stringgrid_million_by_20.png

 I tested the fpGUI StringGrid before against LCL's one. The latter was
 extremely slow. With fpGUI's stringgrid there is also no difference if I
 create for example 8 million rows or 8 million columns.

 On to the next one. fpGUI doesn't have design time vs runtime. The
 fpGUI form designer creates Object Pascal code - so components are
 always created at runtime.

 1000 buttons with text:
   Button creation speed:   0.005s
   Application startup: less than a second
   Application is instantly responsive.
 http://opensoft.homeip.net/~graemeg/1000_buttons.png


 10,000 buttons without text:
   Button creation speed:   0.348s
   Application startup: 1.5s until fully painted
 http://opensoft.homeip.net/~graemeg/1_buttons.png


 I tested under FreeBSD 9.1 (64-bit) with a non-accelerated VESA X11
 driver using the integrated GPU of a i7 running at 3.5Ghz.


Looks good, can you post the code somewhere? You work with Lazarus too AFAIK, 
can you make a a similar thing with Lazarus?
How is scrolling the 10'000 buttons form? I had to optimize MSEgui children 
clipping code in order to make the scrolling smooth. fpGUI uses X11 server 
side clipping AFAIK, how does it behave?

Martin

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk