LabGraph Monitor Performance Metrics - YAML generation
jfResearchEng opened this issue Β· comments
jf commented
π Feature
Some performance metrics would be important for users to understand the real-time performance of the created graph:
- Latency: Average time delays between nodes; Average time delays for the critical path of the graph; Average time delays for node computation
- Throughput: Size of data passed per second (e.g. in bytes, kb or mb)
- Data rate: Number of messages passed per second
This feature would help users identified the performance bottleneck of the graph.
Users can choose in the backend whether performance monitoring is activated.
Additional context
- Existing application can be found [here] (https://github.com/facebookresearch/labgraph/tree/main/extensions/yaml_support)
- The code should be added at folder is https://github.com/facebookresearch/labgraph/tree/main/extensions/yaml_support
- Create setup.py and README.md, where example can be found at: https://github.com/facebookresearch/labgraph/tree/main/extensions/labgraph_viz
- Add github action support, reference: https://github.com/facebookresearch/labgraph/actions/workflows/main.yml
- Add proper license header, example:
#!/usr/bin/env python3
# Copyright 2004-present Facebook. All Rights Reserved.