Библиотеки: Высокопроизводительная библиотека iTimeSeries

 

Высокопроизводительная библиотека iTimeSeries:

Эта библиотека предоставляет молниеносный доступ к таймсериям для реализации привычных методов MQL4 (например, iBarShift) в чувствительных к задержкам приложениях на MQL5.

AV Benchmark

Автор: nicholishen

 
iBarShift benchmark based on 100000 runs.
=======================================================
iBarShift(Alain Verleyen) for 2017.04.11 19:56:37 is 45723 in 338.868 milliseconds.
-------------------------------------------------------------
iBarShift3 for 2017.04.11 19:56:37 is 45723 in 0.492 milliseconds.
-------------------------------------------------------------
iBarShift(direct function call) for 2017.04.11 19:56:37 is 45723 in 38.712 milliseconds.
-------------------------------------------------------------
iBar.Shift(performance mode) for 2017.04.11 19:56:37 is 45723 in 3.403 milliseconds.
-------------------------------------------------------------
Файлы:
 
fxsaber:
Seriously ? It's just a trick.
 
Alain Verleyen:
Seriously ? It's just a trick.

Такой тест производительности написал сам автор библиотеки.

Пример с небольшой долей юмора показывает, что тест должен быть несколько иным. + другая реализация проверочной функции.

 
fxsaber :

This performance test written by the author of the library.

Example with a little bit of humor shows that the test should be somewhat different. + Other implementation verification functions.


You're right. The test was designed to reflect the benchmark Alain. Here is an example with a time shift to more accurately simulate the use in the real world for this algorithm.

https://i.imgtc.com/rhYzQFj.png

Файлы:
 
nicholishen:


You're right. The test was designed to reflect the benchmark Alain. Here is an example with a time shift to more accurately simulate the use in the real world for this algorithm.

Высокая производительность нужна для тестера/оптимизатора (только).

Покажите, пожалуйста, результат сравнительный результат Вашей библиотеки в тестере/оптимизаторе.

 
fxsaber:

Высокая производительность нужна для тестера/оптимизатора (только).

Покажите, пожалуйста, результат сравнительный результат Вашей библиотеки в тестере/оптимизаторе.


...также нужна для сложных построений - из многих объектов
 
nicholishen:


You're right. The test was designed to reflect the benchmark Alain. Here is an example with a time shift to more accurately simulate the use in the real world for this algorithm.

https://i.imgtc.com/rhYzQFj.png

iBarShift benchmark 3 based on 6417330 runs.
=======================================================
iBarShift(Alain Verleyen) for 2005.03.14 12:29:59 is 4295861 in 22086.599 milliseconds.
-------------------------------------------------------------
iBarShift3 for 2005.03.14 12:29:59 is 4295861 in 10717.378 milliseconds.
-------------------------------------------------------------
iBarShift(direct function call) for 2005.03.14 12:29:59 is 4295861 in 20133.535 milliseconds.
-------------------------------------------------------------
iBar.Shift(performance mode) for 2005.03.14 12:29:59 is 4295861 in 19648.571 milliseconds.
-------------------------------------------------------------
 
Что есть iBarShift3?
 
Stanislav Korotky:
Что есть iBarShift3?
В исходниках в этой ветке.
 
fxsaber:
You are testing these in debugging mode, are you not? Compile and test by applying the script to the chart. 
Причина обращения: