1
0
포크 0
원본 프로젝트 nique_372/JsonParserByLeo
JsonParserByLeo/Test/Ben/FableMythos.mq5
2026-07-02 10:09:25 -05:00

40 lines
1.4 KiB
MQL5

//+------------------------------------------------------------------+
//| FableMythos.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 "..\\Other\\FableMythos.mqh"
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//---
CJson json;
json.SetText(g_json_data);
uint a = GetTickCount();
for(int i = 0; i < 1000; i++)
{
json.Parse();
}
uint b = GetTickCount() - a;
Print("Time: ", b);
/*
2026.06.21 10:52:50.263 BenAi (BTCUSD,M1) Time: 1313
2026.06.21 10:52:53.324 BenAi (BTCUSD,M1) Time: 1312
2026.06.21 10:52:57.683 BenAi (BTCUSD,M1) Time: 1313
*/
}
//+------------------------------------------------------------------+