-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: benchmark test sh file (#64)
* refactor: benchmark test sh file * ci: dockerfile udpate for benchmark.sh * chore: echo statements for benchmark file
- Loading branch information
1 parent
04c92f4
commit 37e768a
Showing
10 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
./video_vec_operator_time.sh | ||
echo "test 1 done" | ||
./video_vec_operator_cprofile.sh | ||
echo "test 2 done" | ||
./video_vec_operator_profile_memray.sh | ||
echo "test 3 done" | ||
./video_vec_operator_profile_pyinstrument.sh | ||
echo "test 4 done" | ||
tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | ||
python -m memray run -o image_vec_rep_resnet.$current_time.bin image_vec_operator_profile.py | ||
tail -f /dev/null | ||
python -m memray run -o image_vec_rep_resnet.$current_time.bin image_vec_operator_profile.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | ||
pyinstrument -r speedscope -o speedscope_image_vec_rep_resnet.$current_time.json image_vec_operator_profile.py | ||
tail -f /dev/null | ||
pyinstrument -r speedscope -o speedscope_image_vec_rep_resnet.$current_time.json image_vec_operator_profile.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
python video_vec_operator_cprofile.py > output_cprofile.txt | ||
tail -f /dev/null | ||
python video_vec_operator_cprofile.py > output_cprofile.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | ||
python -m memray run -o vid_vec_rep_resnet.$current_time.bin video_vec_operator_profile.py | ||
tail -f /dev/null | ||
python -m memray run -o vid_vec_rep_resnet.$current_time.bin video_vec_operator_profile.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
current_time=$(date "+%Y.%m.%d-%H.%M.%S") | ||
pyinstrument -r speedscope -o speedscope_vid_vec_rep_resnet.$current_time.json video_vec_operator_profile.py | ||
tail -f /dev/null | ||
pyinstrument -r speedscope -o speedscope_vid_vec_rep_resnet.$current_time.json video_vec_operator_profile.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
python video_vec_operator_time.py > output_time.txt | ||
tail -f /dev/null | ||
#!/usr/bin/env bash | ||
|
||
python video_vec_operator_time.py > output_time.txt |