strategy tester calculation speed on different hw - page 2

 

Thank you Alexx,

unfortunately, this chart cannot be closed with ChartClose(ChartID()) nor ChartClose(0).
I will spend no more energy on this.

 

Just to inform those who are interested:
I didn't manage to speed up significantly testing on i7 compared to core 2. 
By reducing 8 threads to 4 threads, those 4 threads execute a little bit slower than 8 threads. This shows that the size of L3 cache is not the issue.

It seems that new generations of CPUs are not speeding up as much as you would expect.

 
graziani:

unfortunately, this chart cannot be closed with ChartClose(ChartID()) nor ChartClose(0).

Just checked this piece of code:

void OnTesterDeinit()
  {
//--- end optimization
   ChartClose(0);
  }

And it did close the chart at the end of optimization.

 

OK, i rechecked and ... you are right. It does close when either finished or interrupted (Stop), when there is at least 1 (one) successful pass.

It doesn't if all passes have failed during OnInit(). Unfortunately when i was checking, all passes were set to fail (intentionally), so that's why i reported it false. I always check before claiming something on forum.