Page 1 of 1

Performance issue

Posted: Sun Feb 26, 2023 5:54 pm
by Khan
Hi,

When I'm manually backtesting, NM starts to become sluggish after a while (after many hundreds of bars on screen). Stepping forward a single bar sometimes takes a few seconds, and the program becomes sluggish as well. I looked at the Windows Task Manager and saw that NM was using a lot of CPU. Right clicking on the chart to open up the menu takes some time too.

I tested this by creating a new backtest from scratch and using the same parity and same start date and same chart template - everything is back to normal.

It looks like having too many bars tanks NM's performance.

I'm attaching my backtest file, so you can look at it:
EURUSD_backtest.zip
(43.78 KiB) Downloaded 104 times
Thanks.

Re: Performance issue

Posted: Mon Feb 27, 2023 10:22 am
by NakedMarkets
Hello,

Thanks for the backtest file. In theory, NM has been optimized to avoid being slow when a lot of bars are printed. The data is indexed and we don't print all data at once.
We will investigate this quickly and will let you know the fix