I have written a python script which import CSV file in MySQL db. I need to check the speed of read/write to MySQL because I need to optimzed the speed and time. I search and find this command
time ./royshah.py
which gives results like this
real 0m2.579s
user 0m0.448s
sys 0m0.192s
my file size is 86 kb and it consists of 1200 rows and columns are 9. my question is
is there any other command or useful profiling tool for python and MySQL
to measure more precisely speed time other than
this command "time ./file-name" ?
I tried my best to find one but unable to find. thanx for the help.