by laffo16 » Sat Apr 25, 2009 5:12 am
hey guys, i ran some timer based tests on each of the COM functions.
here are my averaged findings to the milisecond (1000 = 1 second)
ObjCreate(BACOM) = 815
.TabIndex = 1
.getUserName = 10
.getBalance = 120
.getSports = 100
.getEvents = 1090
.loadQuickPickList = 690
.setQuickPickAutoSelect = 25
.openMarket = 310
.marketId = 60
.getPrices = 45
.getSaddleCloth = 45 (all/sel)
.getHorseForm = 35 (all/sel)
.getTradedVolume = 140 (per/sel)
.placeBet = £2=225 | <£2=630
.placeBet + wait = £2=355 | <£2=690
.getBets (all) = 15
.getBet (single) = 140
.cancelBet = 220
x3 .placeBet = £2=660 | <£2=1050
x3 .placeBet + wait = £2=1100 | <£2=1900
.cancelAllBets = 40
the market in test was the 13:00 @ Sandown in the very early hours of the morning. ofc these results are nothing set in stone (some results will vary more then others).
".placeBet + wait" - after a normal .placeBet(), the + wait includes the time it takes for the betref to appear in .getBets
i only made 3-4 runs on each function so some of these results may be misleading.
couldn't get these to work,
setIPAddress("127.0.0.5") - just kept throwing errors
layField(odds:double,stake:double): string() - think this requires excel