Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ef1d24

Browse files
lesson script renamed
1 parent 09fb451 commit 4ef1d24

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
time ./send_reminders.py "2025年01月15日|Example|test1" # measure the script speed | one test user
2+
time ./send_reminders.py "2025年01月15日|Example|test1,test2,test3,test4,test5,test6,test7,test8,test9" # measure the script speed | nine test users
3+
pprofile3 -f callgrind -o profile.out ./send_reminders.py "2025年01月15日|Example|test1,test2,test3,test4,test5,test6,test7,test8,test9" # generate output file
4+
kcachegrind profile.out # gui for looking into profile.out file | see the function calls and time spent in each function
5+
6+
# ref: slow-script-with-expensive-loop lecture

‎c4_troubleshooting_debugging_techniques/m2_slowness/src/script.sh‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /