List:Commits« Previous MessageNext Message »
From:Marc Alff Date:May 4 2011 3:20am
Subject:bzr push into mysql-trunk-pfs-tuning branch (marc.alff:3366 to 3367)
View as plain text  
 3367 Marc Alff	2011-05-03
      Fixed windows build break

    modified:
      mysys/psi_noop.cc
 3366 Marc Alff	2011-05-03
      PERFORMANCE SCHEMA optimiztion
      
      Potential improvements, to benchmark:
      
      1) Removed "locker= NULL" from the main instrumentation path
      
      2) Removed "if (locker == NULL) from the main instrumentation path,
      for most end events
      
      3) Pushed "if (that->m_psi != NULL)" from the interface to the implementation
      
      4) In the implementation, pushed "if (that->m_psi != NULL)" after the
      check for the global_instrumentation consumer, to shorten the instrumentation path.

    modified:
      include/mysql/psi/mysql_file.h
      include/mysql/psi/mysql_table.h
      include/mysql/psi/mysql_thread.h
      storage/innobase/include/os0sync.ic
      storage/innobase/include/sync0rw.ic
      storage/innobase/include/sync0sync.ic
      storage/innobase/include/univ.i
      storage/perfschema/pfs.cc
=== modified file 'mysys/psi_noop.cc'
--- a/mysys/psi_noop.cc	2011-05-03 23:49:32 +0000
+++ b/mysys/psi_noop.cc	2011-05-04 03:19:36 +0000
@@ -14,6 +14,7 @@
   51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
 
 #include "my_global.h"
+#include "my_pthread.h"
 #include "mysql/psi/psi.h"
 
 #ifdef HAVE_PSI_INTERFACE

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk-pfs-tuning branch (marc.alff:3366 to 3367) Marc Alff4 May