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 the report_results function (and optionally get_test, but watch this space for functions to use with your metrics.

Also includes a demonstration/minimal performance job, distribution_size.


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.
 
report_results(test_dict, build_id, buildtype=None, username=None, **metrics)
 
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)
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.
  BUILD_TYPES = 'OB', 'NB', 'CB', 'Dev'
Function Details [hide private]

report_results(test_dict, build_id, buildtype=None, username=None, **metrics)

 

Deprecated: See Test

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.