New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cygwin-thread-multi-64int is slow in multi-threaded code that relies heavily on split command #11487
Comments
From amcglinchy@gmail.comThis is a bug report for perl from amcglinchy@gmail.com, When running a threaded perl program in Cygwin that relies heavily on the The following code can reproduce the effect. ## Test code to show split slow when used in muiltiple threads is slow in my $string = "12356789 "x25; print( (`$^X -v`)[1]); sub thread_process { # Here is an example of the output on my dual core XP machine $ ~/localperl/bin/perl.exe example.split.pl $ perl example.split.pl # The defect does not occur with ActivePerl. Instead the expected slightly Flags: Site configuration information for perl 5.10.0: Configured by rurban at Mon Jun 30 16:03:19 GMT 2008. Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065) Locally applied patches: @INC for perl 5.10.0: Environment for perl 5.10.0: PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:/usr/bin:/cygdrive/c/bats/:/cygdrive/c/Program |
From @tseeYou used perl 5.10. There have been changes in recent versions of Perl Best regards, |
The RT System itself - Status changed from 'new' to 'open' |
From amcglinchy@gmail.comSteffen, On 12 July 2011 08:25, Steffen Mueller via RT <perlbug-followup@perl.org>wrote:
Thanks for the feedback. Athought I used 5.10 to send the perlbug report, the report shows the Since then I have also tested in cygwin 5.10.1 which is the latest release I should also add that if you replace the split with a high CPU math Alistair |
From @tseeAlistair, On 07/12/2011 11:02 AM, Alistair McGlinchy wrote:
Apologies for missing that. I was too hasty in replying and running off Best regards, |
From @dcollinsn$ perl 94472.pl -- |
From [Unknown Contact. See original ticket]$ perl 94472.pl -- |
Migrated from rt.perl.org#94472 (status was 'open')
Searchable as RT94472$
The text was updated successfully, but these errors were encountered: