359d54e Don't perform some API self-tests in production mode for performance reasons

6 files Authored by rcritten 13 years ago, Committed by simo 13 years ago,
    Don't perform some API self-tests in production mode for performance reasons
    
    The API does a fair number of self tests and locking to assure that the
    registered commands are consistent and will work. This does not need
    to be done on a production system and adds additional overhead causing
    somewhere between a 30 and 50% decrease in performance.
    
    Because makeapi is executed when a build is done ensure that it is
    executed in developer mode to ensure that the framework is ok.
    
    ticket 751
    
        
file modified
+3 -0
file modified
+4 -3
file modified
+10 -5
file modified
+1 -0