Does Bet Angel Slow Down with Complex Rules?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

Does Bet Angel take longer to trigger bets if you have hundreds of lines with nested conditions compared to more straightforward rules/calculations?
EDIT: I use VPS from Bet Angel.
Last edited by lotora on Tue Jun 18, 2024 8:56 am, edited 1 time in total.
User avatar
jimibt
Posts: 4202
Joined: Mon Nov 30, 2015 6:42 pm

i would say that it certainly must, especially if you are cycling many markets. however, depending on the spec of your machine, this may amount to very little difference, but it will be there - common sense informs us of this. I'm sure dallas et al will clarify. One other thing to note is to always clear your log each day, especially if you write out a lot of sv's to the log as this definitely does slow things down.
User avatar
Crazyskier
Posts: 1301
Joined: Sat Feb 06, 2016 6:36 pm

jimibt wrote:
Tue Jun 18, 2024 8:48 am
common sense informs us of this
- A phrase that I used to hear often as a child growing up in the 70s and 80s.

Sadly I think the last time I heard it was around the millennium - certainly before social media and so-called ''influencers'' and ever-increasingly woke university lecturers told us all what to think!!

Funny how 6 words can make one so nostalgic for a gentler time with principles that I fear we'll never see again. If only more people had critical thinking skills, the ability to reason and enjoy passionate debate without resorting to insults and name-calling.

If only we all listened to common sense and reason, polite society would be far kinder and less adversarial.

CS
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

lotora wrote:
Tue Jun 18, 2024 5:39 am
Does Bet Angel take longer to trigger bets if you have hundreds of lines with nested conditions compared to more straightforward rules/calculations?
EDIT: I use VPS from Bet Angel.
I have an old laptop that runs on 50% CPU usage because otherwise it overheats. It's no longer able to cope with testing my VBA bots but happily runs 10-20 uncomplex rules files. That at least tells me that rules files are much more efficient in terms of CPU, but obviously every device will have its limit.
User avatar
Derek27
Posts: 25159
Joined: Wed Aug 30, 2017 11:44 am

Crazyskier wrote:
Tue Jun 18, 2024 9:21 am
jimibt wrote:
Tue Jun 18, 2024 8:48 am
common sense informs us of this
- A phrase that I used to hear often as a child growing up in the 70s and 80s.

Sadly I think the last time I heard it was around the millennium - certainly before social media and so-called ''influencers'' and ever-increasingly woke university lecturers told us all what to think!!

Funny how 6 words can make one so nostalgic for a gentler time with principles that I fear we'll never see again. If only more people had critical thinking skills, the ability to reason and enjoy passionate debate without resorting to insults and name-calling.

If only we all listened to common sense and reason, polite society would be far kinder and less adversarial.

CS
What does common sense say about gay people?

It could be argued that there's no such thing as "common" sense, everybody will make what they will from any situation.
sniffer66
Posts: 1824
Joined: Thu May 02, 2019 8:37 am

Again, Dallas can clarify, but when I used to test some very complex baf's, I found that continuous log writes really slowed everything down. Reducing those seemed to make a big difference in speed
User avatar
Euler
Posts: 26504
Joined: Wed Nov 10, 2010 1:39 pm

sniffer66 wrote:
Tue Jun 18, 2024 9:55 am
Again, Dallas can clarify, but when I used to test some very complex baf's, I found that continuous log writes really slowed everything down. Reducing those seemed to make a big difference in speed
This will be because the interaction with the UI. Othe than that, even complex rules will run quickly in the underlying core.
User avatar
lotora
Posts: 754
Joined: Thu Dec 24, 2009 9:20 am

jimibt wrote:
Tue Jun 18, 2024 8:48 am
i would say that it certainly must, especially if you are cycling many markets. however, depending on the spec of your machine, this may amount to very little difference, but it will be there - common sense informs us of this. I'm sure dallas et al will clarify. One other thing to note is to always clear your log each day, especially if you write out a lot of sv's to the log as this definitely does slow things down.
Yes, it makes sense; that's common sense. Most of the time, it only goes through about 15% of the conditions before triggering. There aren't any complex rules. The conditions mainly involve "basic" Stored Values, and each condition is a straightforward binary decision: either met or not. My gut feeling is that it works well, and I don't see any obvious way to make it faster.
User avatar
jamesedwards
Posts: 4369
Joined: Wed Nov 21, 2018 6:16 pm

Euler wrote:
Tue Jun 18, 2024 9:57 am
sniffer66 wrote:
Tue Jun 18, 2024 9:55 am
Again, Dallas can clarify, but when I used to test some very complex baf's, I found that continuous log writes really slowed everything down. Reducing those seemed to make a big difference in speed
This will be because the interaction with the UI. Othe than that, even complex rules will run quickly in the underlying core.
This is interesting.

I have complex rules running for my TPD data and I log quite a large amount of data during every race. I log because it helps me identify the cause of any unexpected behaviour.

Roughly I log about 15 lines per second per selection, so easily into the hundreds per second for larger races. Could this volume of logging be causing some drag? I am running a high-spec machine.
User avatar
Euler
Posts: 26504
Joined: Wed Nov 10, 2010 1:39 pm

We've coded Bet Angel to adjust to the ability of the PC to cope. If you have a really good spec PC, you should be OK. But logging does increase the strain on the PC via the UI, so it would have some effect, but much less so on something with a decent graphics card.
weemac
Posts: 1449
Joined: Mon Sep 16, 2013 8:16 pm

I've always wondered how it all works with incredibly complex ifs, ands, buts, if-nots and maybes involved every 20 milliseconds. So it's my PC doing all the work and not at BA's end? My laptop's pretty ancient and was never high-spec to begin with.
Post Reply

Return to “Bet Angel - Automation”