Menu

geniecomponent.getValueOf() is very slow

Jayanth
2013-05-26
2014-03-05
  • Jayanth

    Jayanth - 2013-05-26

    Hi,

    genieComponent.getValueOf() is very slow. It takes 1 sec or more to return value of the specified property. Is there any alternative for this? Because of this tests are slow, even some of simplest tests take 5-10 mins.

    Surprisingly, getChildren (incl recursive) method is quite fast it returns matching childrens quicker than getValueOf which just fetches property of the object.

    Thanks
    ~Jayanth

     
  • the_felis_leo

    the_felis_leo - 2014-03-05

    idem...

    I think about using directly SocketClient in order to do async call.
    So that sending request for all my objects propertis, then waiting for all response, so that minimising round trip latency.

    Note that a can't use getChildren. It return 0 childs whereas getNumAutomationChildren return many.

     

Log in to post a comment.

MongoDB Logo MongoDB