Skip to main content

inspect_app_performance_json

Function inspect_app_performance_json 

Source
pub fn inspect_app_performance_json(
    artifact_dir: &Path,
) -> Result<String, &'static str>
Expand description

Builds a performance-oriented inspection report for one app artifact tree.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::inspect_app_performance_json or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::inspect_app_performance_json cannot complete successfully.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::inspect_app_performance_json.

§Examples

ⓘ
let _result = pharos_native::runtime::inspect_app_performance_json(std::path::Path::new("build/dev_docs"));
  • crate::runtime for adjacent helpers that share the same runtime surface.