parameters: ( filename )
docstring: This saves off the logs we've gathered.
      Ot allows you to run a benchmark somewhere, save off all of the details in
      raw format, then load them somewhere else. You can then do a detailed
      analysis and you always have the raw data to go back to.
docstring_summary: This saves off the logs we've gathered.
      Ot allows you to run a benchmark somewhere, save off all of the details in
      raw format, then load them somewhere else. You can then do a detailed
      analysis and you always have the raw data to go back to.
docstring_tokens: This saves off the logs we ve gathered . Ot allows you to run a benchmark somewhere save off all of the details in raw format then load them somewhere else . You can then do a detailed analysis and you always have the raw data to go back to .
function: def dump_logs( filename ) :
      """
      This saves off the logs we've gathered.
      Ot allows you to run a benchmark somewhere, save off all of the details in
      raw format, then load them somewhere else. You can then do a detailed
      analysis and you always have the raw data to go back to.
      """
      import pickle
      global logs
      if sys.version_info < (3,):
          f = open(filename, "w")
      else:
          f = open(filename, "wb")
      pickle.dump(logs, f)
      f.close()
function_tokens: def dump_logs ( filename ) : import pickle global logs if sys . version_info < ( 3 , ) : f = open ( filename , "w" ) else : f = open ( filename , "wb" ) pickle . dump ( logs , f ) f . close ( )