m3_lightmeter/integration_test/extract_benchmarks.sh

14 lines
564 B
Bash
Raw Normal View History

2023-10-02 09:53:26 +00:00
timeline_name="$1"
if [[ -n "$timeline_name" ]]; then
echo "====== Extracting & merging ${timeline_name} timelines ======"
timelines=$(find ./build -maxdepth 1 -name "${timeline_name}*.timeline.json" -print)
2023-10-02 13:37:05 +00:00
dart run /Users/vodemn/Documents/GitHub/timeline_compare/bin/merge_timelines.dart $timelines
2023-10-02 09:53:26 +00:00
2023-10-02 13:37:05 +00:00
summaries=$(find ./build -maxdepth 1 -name "${timeline_name}*.timeline_summary.json" -print)
dart run /Users/vodemn/Documents/GitHub/timeline_compare/bin/merge_timeline_summaries.dart $summaries
2023-10-02 09:53:26 +00:00
else
echo "Provide the timeline name"
fi