Skip to content
  • Andrei Eres's avatar
    [subsystem-benchmarks] Save results to json (#3829) · fd79b3b0
    Andrei Eres authored
    
    
    Here we add the ability to save subsystem benchmark results in JSON
    format to display them as graphs
    
    To draw graphs, CI team will use
    [github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark).
    Since we are using custom benchmarks, we need to prepare [a specific
    data
    type](https://github.com/benchmark-action/github-action-benchmark?tab=readme-ov-file#examples):
    ```
    [
        {
            "name": "CPU Load",
            "unit": "Percent",
            "value": 50
        }
    ]
    ```
    
    Then we'll get graphs like this: 
    
    ![example](https://raw.githubusercontent.com/rhysd/ss/master/github-action-benchmark/main.png)
    
    [A live page with
    graphs](https://benchmark-action.github.io/github-action-benchmark/dev/bench/)
    
    ---------
    
    Co-authored-by: default avatarordian <[email protected]>
    fd79b3b0