Package schrodinger :: Package test :: Package performance :: Module reporter
[hide private]
[frames] | no frames]

Module reporter

Basic client-side components for performance testing. Typical clients should only need to use Test class.


Copyright: (c) Schrodinger, LLC All rights reserved.

Classes [hide private]
  BadResponse
When a http response status code does not match the expected.
  Test
A performance test.
Functions [hide private]
 
get_or_create_test(name, description, product_name, username=None)
Get or create a single test from the performance database.
 
api_url(resource_name, item_id=None, host=None)
Get an address on the core server
 
performance_api_url(resource_name, item_id=None, host=None)
Get an address in the performance bit of the server.
 
resource_id(uri)
Get the resource's ID number from a uri
 
get_or_create(url, auth, params)
Get or create a resource matching the parameters.
 
system_information(host)
System information required to report results.
 
host_information()
 
post_system(auth)
Post the current host's system information to the performance test server.
 
install_information(build_id=None, buildtype=None, mmshare=None, release=None)
Execution environment information required to report results.
 
guess_build_type_and_id(mmshare, buildtype=None)
Provide reasonable default values for the buildtype and build_id.
Variables [hide private]
  HOST = 'https://stu.schrodinger.com'
  MB = 1048576.0
  BUILD_TYPES = ('OB', 'NB', 'CB', 'Dev')
  __package__ = 'schrodinger.test.performance'
Function Details [hide private]

post_system(auth)

 

Post the current host's system information to the performance test server.

@return URI for the new system.

guess_build_type_and_id(mmshare, buildtype=None)

 

Provide reasonable default values for the buildtype and build_id. When possible, reads from the environment variables SCHRODINGER_BUILDTYPE and SCHRODINGER_BUILD_ID, otherwise guesses based on the date.