Skip to content

Bash shell script to time multiple python scripts with arguments and write to log

Notifications You must be signed in to change notification settings

mehdi-shiba/python-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python timer shell script

Simple Bash shell script to time multiple python scripts with arguments and write to log.

I needed this to time deep learning scripts over night. Just edit the set in script_timer.sh with a list of scripts you need to launch.

set "xyz.py -batch=256" "xyz.py -batch=64 -epoch=10" "xyz.py -gpu=0"

You can add arguments if necessary, just keep them all in between double quotes. Results will be written to time_log.txt (appended if the file already exists).

About

Bash shell script to time multiple python scripts with arguments and write to log

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published