You are here: Foswiki>Tasks Web>Item617 (03 Jan 2009, SvenDowideit)Edit Attach

Item617: "extremely slow performance for certain critical operations" warning is broken for Perl >5.008009

Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: major
Applies To: Engine
Reported By: Foswiki:Main.MarkusUeberall
Waiting For:
Last Change By: SvenDowideit
Using Perl v5.10.x, configure will always display the following warning:

This version of Perl is likely to exhibit extremely slow performance for certain critical operations.
Please consider recompiling Perl. For more information, see and/or

This is due to a rather obfuscated part of code in Foswiki/Configure/Checkers/, lines 112-116:
        sub _possibly_has_bad_overload_performance {
            return $] < 5.008009 && !_has_bug_34925();

        if ( !_possibly_has_bad_overload_performance() ) { (warning as mentioned above) }

The second negation in the last line is apparently wrong--not only is it confusing to issue a warning if the installation in question is not possibly exhibiting bad performance, but this test will fail for Perl >5.008009 (i.e., all current distros--that's why I set this to priority "normal" instead of "low").

(According to Olivier, _has_bug_34925 should also rather be called _hasnt_bug_34925)

Update: Kenneth suggested to remove the entire check and add a note in the documentation as (a) RedHat issued an update in the meantime and (b) his tests before/after that patch didn't show any differences for a Foswiki installation using the default plugins. Therefore, we shouldn't spend that much time to fix the warning as it shouldn't occur in the first place nowadays...

removed - I have to trust that you guys know whats best for RH users - I don't use RH often enough.

ItemTemplate edit

Summary "extremely slow performance for certain critical operations" warning is broken for Perl >5.008009
ReportedBy Foswiki:Main.MarkusUeberall
Codebase 1.0.0 beta3, 1.0.0 beta2
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:4f67ad8289a9
TargetRelease major
ReleasedIn 1.0.0
Topic revision: r4 - 03 Jan 2009, SvenDowideit - This page was cached on 24 Jun 2019 - 18:08.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy