example/dist/csssystem/styleguide/cmod_styleguide.js
function(objName, fnName, func) {
    if ("production" !== "development") {
      var measuredFunc = null;
      var wrapper = function() {
        if (ReactPerf.enableMeasure) {
          if (!measuredFunc) {
            measuredFunc = ReactPerf.storedMeasure(objName, fnName, func);
          }
          return measuredFunc.apply(this, arguments);
        }
        return func.apply(this, arguments);
      };
      wrapper.displayName = objName + '_' + fnName;
      return wrapper;
    }
    return func;
  }
function(objName, fnName, func) {
    if ("production" !== "development") {
      var measuredFunc = null;
      var wrapper = function() {
        if (ReactPerf.enableMeasure) {
          if (!measuredFunc) {
            measuredFunc = ReactPerf.storedMeasure(objName, fnName, func);
          }
          return measuredFunc.apply(this, arguments);
        }
        return func.apply(this, arguments);
      };
      wrapper.displayName = objName + '_' + fnName;
      return wrapper;
    }
    return func;
  }
function ( objName , fnName , func ) { if ( "production" !== "development" ) { var measuredFunc = null ; var wrapper = function ( ) { if ( ReactPerf . enableMeasure ) { if ( ! measuredFunc ) { measuredFunc = ReactPerf . storedMeasure ( objName , fnName , func ) ; } return measuredFunc . apply ( this , arguments ) ; } return func . apply ( this , arguments ) ; } ; wrapper . displayName = objName + '_' + fnName ; return wrapper ; } return func ; }
Use this to wrap methods you want to measure. Zero overhead in production.

@param {string} objName
@param {string} fnName
@param {function} func
@return {function}
Use this to wrap methods you want to measure . Zero overhead in production .