diff --git a/tests/spacefish_speed_test.fish b/tests/spacefish_speed_test.fish new file mode 100755 index 0000000..ddef183 --- /dev/null +++ b/tests/spacefish_speed_test.fish @@ -0,0 +1,11 @@ +#!/usr/bin/env fish +function test_speed + fish -p trace_file -c "fish_prompt" + printf "20 Slowest Lines of Code\nTime Sum Command\n\n" + cat trace_file | sort -g | tail -n 20 + + hyperfine --warmup 10 'fish -c "fish_prompt"' +end + +printf "Test" +test_speed \ No newline at end of file