• Creator
    Topic
  • #4414
    lp_irovetz
    Participant

    Hi Advansys team

    One of my applet become to be very big (15 000 lines, many forms, etc …) and slow Frown

    Is there a way to increase speed of formativ
    For instance, 7sec. between click on run and the first instruction in “main”
    I had test many plateforms (Workstation+netware, TSE with GW on it, …) same complain

    Is there some hidden tunning parameters Wink

    I know it’s VBS, and it could’nt be as speed as VB, but …

    Thanks

    L.P. Irovetz
    Arcane GroupWare
    “DMS is a great tool”

  • Author
    Replies
  • #8123
    Support 3
    Participant

    Thanks for your post.

    Sorry, we don’t have any hidden parameters. Available methods, properties are listed in language guide, developer guide, etc.

    Our engineers performed a quick test against an Applet with 11000+ lines (few forms), it took about 2-3 sec from pressing the Run button and execute the applet. This delay also could be based on the amount of RAM available.

      
    Sub Main(Client, GWEvent)
      msgbox "Main()" 
    .......
    End Sub 
    

    If your applet perform some internal activities prior to displaying dialog, perhaps, you can consider to show a status dialog.

    Another thought, Formativ can consume COM automation objects. You could create a COM object in VB, C#, etc and register it, then Formativ create instances of the server and call methods on it. For example, you can write memory/CPU intensive tasks in COM object and consume its methods/properties in Applet.

    Hope this helps.

    Regards,
    Advansys Support

    #8125
    lp_irovetz
    Participant

    Hi,

    When i said “run and the first instruction in “main”

    it’s because i did your test
    Sub Main(Client, GWEvent)
    msgbox “Main()”
    …….
    End Sub

    Whith few forms, perhaps, with many and a big one (270Ko) it’s near 7 sec
    Amount of RAM 2Go with XP for my workstation

    Between “Run” and “Main”, what’s Formativ doing ?
    Read Cache and load in memory ?
    I search a clue to tunning the parameters

    Thanks for help

    L.P. Irovetz
    ARCANE GroupWare

    #8124
    Support 3
    Participant

    Formativ uses the services of the Windows Script Host, it does not execute applets using the Windows Script Host. Formativ applets can only be executed within the secure Formativ environment. This means applets are executed in a controlled ‘sandbox’ environment.

    Prior to executing Applet, Formativ need to perform some activities (i.e. load applet in memory, checking applet integrations, etc). If your target is high performance, then COM server and consume in Formativ recommended.

    Regards,
    Advansys Support

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.