sc_crawler.inspector
Helpers to load the hardware discovery and benchmarking data from the sc-inspector-data repository.
Functions:
- inspector_data_path – Return a subpath under the cached inspector data root.
- inspect_server_benchmarks – Generate a list of BenchmarkScore-like dicts for the Server.
- inspect_database_benchmarks – Generate a list of BenchmarkScore-like dicts for the Database.
- inspect_update_server_dict – Update a Server-like dict based on inspector data.
func inspector_data_path inspector.py:103–105
inspector_data_path(dir_name='data')
Return a subpath under the cached inspector data root.
func inspect_server_benchmarks inspector.py:516–1107
inspect_server_benchmarks(server)
Generate a list of BenchmarkScore-like dicts for the Server.
func inspect_database_benchmarks inspector.py:1189–1193
inspect_database_benchmarks(database)
Generate a list of BenchmarkScore-like dicts for the Database.
func inspect_update_server_dict inspector.py:1805–2075
inspect_update_server_dict(server)
Update a Server-like dict based on inspector data.