Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: advise calls in TRAINMODE/TESTMODE slow [Re: laz] #478110
09/09/19 09:21
09/09/19 09:21
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
wait(0) triggers the Windows message system and is of course very slow. Can take several hundred microseconds on slow systems. Don't call it on any iteration in a fast loop.

Re: advise calls in TRAINMODE/TESTMODE slow [Re: laz] #478439
10/22/19 08:48
10/22/19 08:48
Joined: Jan 2019
Posts: 73
berlin
L
laz Offline OP
Junior Member
laz  Offline OP
Junior Member
L

Joined: Jan 2019
Posts: 73
berlin
"Zorro 2.19.6 new features (beta version)"

"The advise training speed has been improved for large training sets."

IT REALLY HAS grin!

advise-slow-test-0.c with 400 inputs (TRAINMODE)
Quote
AUDUSD AL0 | Bars 72751 | Bar 9000 | 400.41 ms
AUDUSD AL0 | Bars 72751 | Bar 10000 | 406.71 ms
AUDUSD AL0 | Bars 72751 | Bar 11000 | 356.71 ms
AUDUSD AL0 | Bars 72751 | Bar 12000 | 384.86 ms
AUDUSD AL0 | Bars 72751 | Bar 13000 | 404.33 ms
AUDUSD AL0 | Bars 72751 | Bar 14000 | 373.60 ms
AUDUSD AL0 | Bars 72751 | Bar 15000 | 412.75 ms

The delay in TESTMODE (caused by the wait()) should be fixed by the change from

Quote
if(!wait(0)) return 0;
to
Quote
if(!wait(-200)) return 0;
in the new r.h file.

Quote
EURUSD AL1 | Bars 72751 | Bar 15000 | 734.00 ms
EURUSD AL1 | Bars 72751 | Bar 16000 | 569.11 ms
EURUSD AL1 | Bars 72751 | Bar 17000 | 714.08 ms
EURUSD AL1 | Bars 72751 | Bar 18000 | 517.06 ms

At this point I have to say a big compliment to the support! Both issues have been fixed, as you can see now - there are no delays (increasing run-times) anymore.

Thank you, keep it up!

Last edited by laz; 10/22/19 08:58.
Page 2 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1