m3_lightmeter/integration_test/extract_benchmarks.sh
2023-10-02 15:37:05 +02:00

13 lines
564 B
Bash

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)
dart run /Users/vodemn/Documents/GitHub/timeline_compare/bin/merge_timelines.dart $timelines
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
else
echo "Provide the timeline name"
fi