|Pathologically Eclectic Rubbish Lister|
Re^3: Inline::C on Windows: how to improve performance of compiled code?by syphilis (Archbishop)
|on Jun 16, 2018 at 05:43 UTC||Need Help??|
One can successfully force install Inline::C, but it's unusable
While that's so for the latest version of Inline::C, it's quite simple to install older versions of Inline::C on the unthreaded Windows (as they don't carry the Win32::IPC baggage that comes with recent versions).
So, I installed Inline-0.55, though I perhaps didn't need to go that far back.
Here are the results using vr's original one-liners:
On threaded perl-5.26.0 with current Inline::C version 0.78:
On threaded perl-5.26.0 with Inline::C version 0.55:
On unthreaded perl-5.26.0 with Inline::C version 0.55:
It therefore appears that reverting to an older version of Inline::C makes very little difference, whereas using Inline::C on an unthreaded Windows perl-5.26.0 markedly improves performance when calling Inline::C subs from perl.
Unfortunately, it also seems that calling perl subs on an unthreaded Windows perl-5.26.0 takes about 30% longer (as compared to the time it takes on the threaded perl).
Of course, things might be quite different on the soon-to-be-released perl-5.28.0.
And things might also be quite different on 32-bit builds of perl.