In addition, C# is a GC language like Java. The first two benchmarks should be compared against Mono or Java in order to be relevant.
Also, the exact hardware for Ubuntu and Windows would be important (I do not see it stated here). From: 'Bill Hart' via mpir-devel [mailto:mpir-devel@googlegroups.com] Sent: Thursday, June 30, 2016 7:13 PM To: mpir-devel <mpir-devel@googlegroups.com> Subject: Re: [mpir-devel] mpir benchmark Pollard Rho is extremely inconsistent in its timings. I wouldn't read too much into the factorisation of a single number unless you know for sure that precisely the same computations are being performed internal to the algorithm. Bill. On 1 July 2016 at 03:13, Doug Telford <d...@dougtelford.com<mailto:d...@dougtelford.com>> wrote: This post updates a previous post, which had several errors. The benchmark is a Pollard rho factorization program. The number to factor has 34 digits. 1. Windows 10 C# Mpir.Net arithmetic expressions (v =(v * v + a) % n) : 614 seconds 2. Windows 10 C# Mpir.Net mpz_ expressions (mpz_add(v, a, v)) :68 seconds 3. Windows 10 Free Pascal uses interface to mpir.dll : 45 seconds 4. Ubuntu 15.10 (Linux) Free pascal uses libgmp : 31 seconds 5. Ubuntu 15.10 (Linux) gcc uses libgmp : 27 seconds -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com<mailto:mpir-devel+unsubscr...@googlegroups.com>. To post to this group, send email to mpir-devel@googlegroups.com<mailto:mpir-devel@googlegroups.com>. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com<mailto:mpir-devel+unsubscr...@googlegroups.com>. To post to this group, send email to mpir-devel@googlegroups.com<mailto:mpir-devel@googlegroups.com>. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at https://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.