[Vala] Performance experiments with Vala, C and D-Bus

2012-06-04 Thread Borja Rodríguez Diliz
Hi all, I want to use Vala and Dbus for a project in which I need to exchange information between objects about 4 Hz . The final target is to run the software on an embedded device (with a limited CPU / RAM) I performed some tests and I noticed that using Vala instead of plain C requires

Re: [Vala] Performance experiments with Vala, C and D-Bus

2012-06-04 Thread Jürg Billeter
Hi Borja, On Mon, 2012-06-04 at 13:58 +0200, Borja Rodríguez Diliz wrote: I want to use Vala and Dbus for a project in which I need to exchange information between objects about 4 Hz . The final target is to run the software on an embedded device (with a limited CPU / RAM) I performed some

Re: [Vala] Performance experiments with Vala, C and D-Bus

2012-06-04 Thread Borja Rodríguez Diliz
inline: xs.jpeg// Nbr of object to register int numberObjects=200; DemoServer []myServers; bool SEND_SIGNALS=true; [DBus (name = net.prx.test)] public class DemoServer : Object { private int counterA; private int counterB; public void sendSignalA(){ if (SEND_SIGNALS){

Re: [Vala] Performance experiments with Vala, C and D-Bus

2012-06-04 Thread Borja Rodríguez Diliz
Hi Jürg, Thanks a lot for your quick response. As your recommend, I've change my vala server to have only two timeout sources (see attached code) but results are similar (about 13.3% CPU used on my machine) I don't think the problem is on the thread manipulation, timeouts, and probably not

Re: [Vala] [ANNOUNCE] Vala 0.17.1 - Compiler for the GObject type system

2012-06-04 Thread Jim Nelson
On Sat, Jun 2, 2012 at 9:46 AM, Jürg Billeter j...@bitron.ch wrote: * Add --enable-gobject-tracing commandline option. Is there any documentation to explain what GObject tracing is and how to use it? -- Jim___ vala-list mailing list

Re: [Vala] [ANNOUNCE] Vala 0.17.1 - Compiler for the GObject type system

2012-06-04 Thread Jürg Billeter
Hi Jim, On Mon, 2012-06-04 at 18:27 -0007, Jim Nelson wrote: On Sat, Jun 2, 2012 at 9:46 AM, Jürg Billeter j...@bitron.ch wrote: * Add --enable-gobject-tracing commandline option. Is there any documentation to explain what GObject tracing is and how to use it? No, there is no

[Vala] another way to write a widget in Vala (Gtk)

2012-06-04 Thread Mariano Gaudix
another way to write a widget in Vala (Gtk) /* START of EXAMPLE */ using Gtk; private Gtk.Button button; public void on () { button.hide (); } Gtk.HBox create_box () { Gtk.HBox lbox; Gtk.Button button3; lbox = new