giovedì 14 aprile 2011

Rewriting has just began

Hi there ppl,
i've just finished creating the adsense-monitor preferences UI. By using SWT i don't have worry about a lot of things ( gtk api changes above all). Using this library adsense-monitor will have the best integration inside your favourite OS.
Many of you will say
Hey, java virtual machine will waste my RAM!!!
That's true...almost...Let's study RAM usage of the different versions of Adsense-Monitor.
GTK + Python on Linux Gnome-powered System:

  • GTK - None (it's loaded on gnome's startup, so no overhead);
  • Python - 5MB;
    • TOTAL RAM WASTED: 5MB

GTK + Python on Windows or MacOSX or Linux with KDE:

  • GTK - 20MB;
  • Python - 5MB;
    • TOTAL RAM WASTED: 25MB

Introducing SWT your system have to load only the Java VM and not the UI Toolkit. By using SWT your system doesn't need to load GTK, but SWT will use his own libraries so:

    • TOTAL RAM WASTED: 20MB

As you can see there are a lot of benefits using Java + SWT on any system (except Linux+Gnome).
A little screenshot of Java+SWT version of Adsense-Monitor (click to enlarge):

2 commenti:

  1. Questo commento è stato eliminato dall'autore.

    RispondiElimina
  2. Hi,

    I managed to create a very simple application which accesses a user's Google Adsense account and prints the Earnings, CPC, Clicks and Page Views, once every 120minutes...

    As soon as I have some more spare time, I will add a GUI and further logging, etc :)

    http://monitoradsenseearnings.blogspot.com

    Try it and let me know if it works....

    Cheers,
    Gizmo

    RispondiElimina