//+------------------------------------------------------------------+ //| Ben.mq5 | //| Copyright 2026, Niquel Mendoza. | //| https://www.mql5.com/ | //+------------------------------------------------------------------+ #property copyright "Copyright 2026, Niquel Mendoza." #property link "https://www.mql5.com/" #property version "1.00" #property strict //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ #include "..\\Src\\Parser.mqh" #resource "TestOptim.set" as const string g_setfile //+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ void OnStart() { //--- TSN::CSetFileParser setfile; setfile.Assing(g_setfile); setfile.CorrectPading(); //Sleep(250); ulong a = GetMicrosecondCount(); for(int i = 0; i < 6000; i++) { setfile.Parse(); } ulong b = GetMicrosecondCount() - a; Print("time: ", b); } // 2026.07.06 17:39:45.926 Ben (XAUUSD,M1) time: 1050349 //+------------------------------------------------------------------+