MC .Net performance

Questions about MultiCharts .NET and user contributed studies.
Xyzzy
Posts: 152
Joined: 19 Mar 2011
Has thanked: 43 times
Been thanked: 74 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.
These users thanked the author Xyzzy for the post (total 2):
williamhkLaurentius

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

Re: MC .Net performance

Postby Dave Masalov » 08 Aug 2012

Xyzzy wrote: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: 485 times

Re: MC .Net performance

Postby Dave Masalov » 08 Aug 2012

bluejack wrote:@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

Dave Masalov wrote: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: 170 times

Re: MC .Net performance

Postby Dru » 09 Aug 2012

bluejack wrote:So did I understand right, you create a dll consisting of x86 machine code when compiling PowerLanguage?

Correct.
bluejack wrote: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.
These users thanked the author Dru for the post (total 2):
bluejackLaurentius


Return to “MultiCharts .NET”