Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Implement Performance Tracking (Fixes #130) #182

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tests/spacefish_speed_test.fish
Original file line number Diff line number Diff line change
@@ -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