[Bast-commits] r5011 - DBIx-Class/0.08/branches/doc_mods/t

nigel at dev.catalyst.perl.org nigel at dev.catalyst.perl.org
Tue Oct 28 09:00:32 GMT 2008


Author: nigel
Date: 2008-10-28 09:00:31 +0000 (Tue, 28 Oct 2008)
New Revision: 5011

Modified:
   DBIx-Class/0.08/branches/doc_mods/t/99rh_perl_perf_bug.t
Log:
Minor RH perf bug test tweaks including internal documentation

Modified: DBIx-Class/0.08/branches/doc_mods/t/99rh_perl_perf_bug.t
===================================================================
--- DBIx-Class/0.08/branches/doc_mods/t/99rh_perl_perf_bug.t	2008-10-27 21:55:55 UTC (rev 5010)
+++ DBIx-Class/0.08/branches/doc_mods/t/99rh_perl_perf_bug.t	2008-10-28 09:00:31 UTC (rev 5011)
@@ -3,7 +3,6 @@
 use warnings;
 use Test::More;
 use lib qw(t/lib);
-use DBICTest;
 
 # This is a rather unusual test.
 # It does not test any aspect of DBIx::Class, but instead tests the
@@ -46,6 +45,13 @@
     return $] < 5.008009 && !_has_bug_34925();
 }
 
+# If the test here fails, you are running a 5.88 or older perl which 
+# has been patched to correct for an issue with bless/overload, but
+# which *might* be susceptable to a severe performance issue caused
+# by a partial fix.  The performance issue is tested for in the second
+# test.
+# If *this* test fails, but the other test is OK, then you have a fixed
+# perl and no need to worry.
 ok( !_possibly_has_bad_overload_performance(),
     'Checking not susceptable to bless/overload performance problem' );
 
@@ -73,4 +79,7 @@
     'Overload/bless performance acceptable' )
 # if the test above failed, look at the section titled
 # Perl Performance Issues on Red Hat Systems in
-# L<DBIx::Class::Manual::Troubleshooting>
\ No newline at end of file
+# L<DBIx::Class::Manual::Troubleshooting>
+# Basically you may suffer severe performance issues when running
+# DBIx::Class (and many other) modules.  Look at getting a fixed
+# version of the perl interpreter for your system.




More information about the Bast-commits mailing list