MC .Net performance

Questions about MultiCharts .NET and user contributed studies.
Xyzzy
Posts: 162
Joined: 19 Mar 2011
Has thanked: 43 times
Been thanked: 79 times

MC .Net performance

Postby Xyzzy » 03 Aug 2012

Out of curiosity, has anyone performed any benchmark tests that compare regular MultiCharts to MC .Net, such as backtesting time? If I understand correctly, the EasyLanguage code is compiled down to C++. I'm curious if there's a significant performance difference either way between the EasyLanguage code and the .Net equivalent.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: MC .Net performance

Postby Dave Masalov » 08 Aug 2012

Out of curiosity, has anyone performed any benchmark tests that compare regular MultiCharts to MC .Net, such as backtesting time? If I understand correctly, the EasyLanguage code is compiled down to C++. I'm curious if there's a significant performance difference either way between the EasyLanguage code and the .Net equivalent.
We have not done any benchmark tests yet, but overall MC.NET performance should be comfortable.

bluejack
Posts: 42
Joined: 02 Aug 2012
Has thanked: 25 times
Been thanked: 27 times

Re: MC .Net performance

Postby bluejack » 08 Aug 2012

@Dave:
Is EasyLanguage/PowerLanguage code running in a VM? Is it compiled to byte code or machine code?

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: MC .Net performance

Postby Dave Masalov » 08 Aug 2012

@Dave:
Is EasyLanguage/PowerLanguage code running in a VM? Is it compiled to byte code or machine code?
bluejack,

Please be more precise. Do you mean Virtual Machine by VM? PL code is compiled to a dll.

bluejack
Posts: 42
Joined: 02 Aug 2012
Has thanked: 25 times
Been thanked: 27 times

Re: MC .Net performance

Postby bluejack » 08 Aug 2012

Please be more precise. Do you mean Virtual Machine by VM? PL code is compiled to a dll.
Yes I meant a Virtual Machine. I just wondered how PowerLanguage of the standard MultiCharts edition is compiled. So did I understand right, you create a dll consisting of x86 machine code when compiling PowerLanguage? Just wanted to estimate whether .NET will be faster than standard MC as .NET uses a JIT compiler which can create code thats quite fast by optimizing.

Dru
Posts: 107
Joined: 28 Aug 2007
Has thanked: 4 times
Been thanked: 171 times

Re: MC .Net performance

Postby Dru » 09 Aug 2012

So did I understand right, you create a dll consisting of x86 machine code when compiling PowerLanguage?
Correct.
Just wanted to estimate whether .NET will be faster than standard MC as .NET uses a JIT compiler which can create code thats quite fast by optimizing.
For simple studies MC will be faster than MC.NET.
For more complex studies MC.NET probably will be faster.


Return to “MultiCharts .NET”