Re: Универсальная платформа для торговли на финансовых рынках Платформа PRO Trader
Про птичьи языки. Нашел на форуме mql4.com пример кода с тестом на скорость вычислений. Тестируем:
MT4 509 build – 37 секунд
15:12:07 pi_test EURUSD,M1: started
15:12:44 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:12:44 pi_test EURUSD,M1: The time to calculate PI was: 37.17600000
15:12:45 pi_test EURUSD,M1: started
15:13:22 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:13:22 pi_test EURUSD,M1: The time to calculate PI was: 37.41300000
15:13:22 pi_test EURUSD,M1: started
15:13:59 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:13:59 pi_test EURUSD,M1: The time to calculate PI was: 37.20600000
MT4 646 build – 11 секунд
15:17:28 pi_test EURUSD,M1: started
15:17:39 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:17:39 pi_test EURUSD,M1: The time to calculate PI was: 11.333
15:17:39 pi_test EURUSD,M1: started
15:17:50 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:17:50 pi_test EURUSD,M1: The time to calculate PI was: 11.37
15:17:50 pi_test EURUSD,M1: started
15:18:02 pi_test EURUSD,M1: The value of PI is: 3.14159265
15:18:02 pi_test EURUSD,M1: The time to calculate PI was: 11.338
Protrader 3 версия на MQL4 – 10 секунд
7/8/2014 15:28:20.380 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : started
7/8/2014 15:28:30.925 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:28:30.935 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The time to calculate PI was: 10.546
7/8/2014 15:28:30.935 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : started
7/8/2014 15:28:41.490 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:28:41.490 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The time to calculate PI was: 10.555
7/8/2014 15:28:41.490 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : started
7/8/2014 15:28:52.155 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:28:52.155 [id=2420:1, name=pi_test, symbol=EUR/USD:FX Route] : The time to calculate PI was: 10.665
Protrader 3 версия на C# – 10 секунд
7/8/2014 15:29:35.658 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:29:35.658 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The time to calculate PI was: 00:00:10.5852208
7/8/2014 15:29:46.323 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:29:46.323 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The time to calculate PI was: 00:00:10.6453072
7/8/2014 15:29:56.878 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The value of PI is: 3.14159265358997
7/8/2014 15:29:56.878 [id=3300:1, name=pi_test_PT, symbol=EUR/USD:FX Route] : The time to calculate PI was: 00:00:10.5551776
C# консольная версия – 10 секунд
The value of PI is: 3.14159265358997
The time to calculate PI was: 00:00:10.1145440
The value of PI is: 3.14159265358997
The time to calculate PI was: 00:00:10.1345728
The value of PI is: 3.14159265358997
The time to calculate PI was: 00:00:10.2247024
Последний раз редактировалось Sergey Kovalyov; 08.07.2014 в 18:03.