Re: About speed
On Fri, 23 Jun 2006 03:04:21 +0200, alavna <omer.alavna@xxxxxxxxx> wrote:
I converted an algorithm that evaluates poker hands from C# to Pascal.
In Visual Studio Express, the inlined version of the function evaluates
about 10,000,000 hands per second and when you dont use inlining the
number becomes 6,000,000. In delphi it is evaluating 11,500,000 hands
per second without inlining! . Is NET really that slow or is it delphi
that is fast?
Actually inlining in delphi reduced the number of hands evaluated/sec.
Well, .NET code running only 15% slower than native is actually a pretty
good result. For me, it is a good argument in favor of converting to .NET.
.
Relevant Pages
- About speed
... In Visual Studio Express, the inlined version of the function evaluates about 10,000,000 hands per second and when you dont use inlining the number becomes 6,000,000. ... Is NET really that slow or is it delphi that is fast? ... Actually inlining in delphi reduced the number of hands evaluated/sec. ... (borland.public.delphi.non-technical) - Re: About speed
... In Visual Studio Express, the inlined version of the function evaluates about 10,000,000 hands per second and when you dont use inlining the number becomes 6,000,000. ... Is NET really that slow or is it delphi that is fast? ... Changing a single variable declaration in this large function from int64 to integer reversed the condition. ... (borland.public.delphi.non-technical) - Re: About speed
... about 10,000,000 hands per second and when you dont use inlining the ... In delphi it is evaluating 11,500,000 hands ... Actually inlining in delphi reduced the number of hands evaluated/sec. ... but for some applications a 15% loss is huge, at least it is for my project. ... (borland.public.delphi.non-technical) - Re: I know this might be boring
... Removed nested for loop from both c# and delphi versions. ... about 10,000,000 hands per second and when you dont use inlining the ... Actually inlining in delphi reduced the number of hands evaluated/sec. ... (borland.public.delphi.non-technical) - Re: Its a shame, a very shame....
... > Neverthless for Borland it would be rather trivial, ... in Delphi without more information. ... Perhaps those who want inlining should be more specific about their precise ... simplified the task there might be less reluctance by Borland to implement ... (borland.public.delphi.non-technical) |
|