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

Module performance

Basic client-side components for performance testing. Typical clients should only need to use the report_results function, 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.

Functions [hide private]
 
report_results(test_id, build_number, build_type='Dev', username=None, **metrics)
Report the results of test_id to the database.
 
os_version()
Get the OS version from the platform module.
str
processor_string()
Returns a string of processor information.
 
system_information()
System information required to report results.
 
install_information(build_number, build_type='Dev')
Execution environment information required to report results.
Variables [hide private]
  RESULT_URL = 'https://stu.schrodinger.com/performance/api/v1/r...
  __package__ = 'schrodinger.test'
Function Details [hide private]

report_results(test_id, build_number, build_type='Dev', username=None, **metrics)

 

Report the results of test_id to the database. metrics are keyword/value pairs, with the keyword being a string and the value a number.

processor_string()

 

Returns a string of processor information.

Uses platform.processor, sysctl -n machdep.cpu.brand_string, or /proc/cpuinfo on Windows, Mac and Linux, respectively.

Returns: str
Processor information (manufacturer, speed, etc.)

Variables Details [hide private]

RESULT_URL

Value:
'https://stu.schrodinger.com/performance/api/v1/result'