Grabbing speed up
Posted: Fri Jun 16, 2017 9:10 am
Hi,
How to find out which process takes most of the time from these lines:
2017-06-16 05:01:33: Processing http://www.drtuber.com/video/3369213/am ... uckdatecom (1359262) (19.372843027115, 0.10102701187134)
2017-06-16 05:01:33: Gallery description is empty: Update with 'admin added' (19.375967979431, 0.0031230449676514)
2017-06-16 05:01:33: Content type: 1 (19.383626937866, 0.0076560974121094)
2017-06-16 05:01:33: Creating thumb (320x180) (Crop profile: 1) (19.385671138763, 0.0020420551300049)
2017-06-16 05:01:33: Downloading img http://pics.drtuber.com/media/videos/tm ... ayer/6.jpg (../tmp/1359262/tmp//588645.jpg) (19.385740041733, 6.8187713623047E-5)
2017-06-16 05:01:33: Source Size 105219 (19.436568021774, 0.050843000411987)
2017-06-16 05:01:33: Make thumb ../tmp/1359262/tmp//588645.jpg (19.436862945557, 0.00027990341186523)
2017-06-16 05:01:33: Creating thumb ../tmp/1359262/tmp//72588.jpg.tmp.jpg -> ../tmp/1359262/tmp//72588.jpg (19.437283039093, 0.00041699409484863)
2017-06-16 05:01:33: Identify /usr/bin//identify -verbose ../tmp/1359262/tmp//72588.jpg.tmp.jpg (19.43748497963, 0.00019407272338867)
2017-06-16 05:01:33: Size: 960x540 (../tmp/1359262/tmp//72588.jpg.tmp.jpg) thumb: 320x180
thumb_ratio: 1.7777777777778 img_ratio: 1.7777777777778 to ../tmp/1359262/tmp//72588.jpg (19.483212947845, 0.045722007751465)
2017-06-16 05:01:33: Cut image (19.48334813118, 0.00013089179992676)
2017-06-16 05:01:33: Face detect Cmd : /home/domains//face --input=../tmp/1359262/tmp//72588.jpg.tmp.jpg --cascade=/home/domains/1.xml (19.483412027359, 6.1988830566406E-5)
2017-06-16 05:01:33: Output : sh: 1: /home/domains//face: not found
(19.487561941147, 0.0041580200195312)
2017-06-16 05:01:33: CMD: /usr/bin//convert -crop +35+0 +repage -crop -35-40 +repage -resize 320x180^ -gravity Center -crop 320x180+0+0 -quality 100 -filter Lanczos -normalize -unsharp 1x0.6+1 -unsharp 1x0.2+1 -enhance -modulate 100,102 ../tmp/1359262/tmp//72588.jpg.tmp.jpg ../tmp/1359262/tmp//72588.jpg (19.487744092941, 0.00017094612121582)
2017-06-16 05:01:33: Identify /usr/bin//identify -verbose ../tmp/1359262/tmp//72588.jpg (19.783210992813, 0.29547095298767)
2017-06-16 05:01:33: Detect img size for ../tmp/1359262/tmp//72588.jpg (320 x 180) (19.797949075699, 0.01473593711853)
2017-06-16 05:01:33: Rot save (2443969): title:Amateur blonde mommy and her toy Karissa from 1fuckdatecom, desc:() (19.80765914917, 0.0097041130065918)
2017-06-16 05:01:33: Saving ../thumbs/2/443//969_mommy_her_from.jpg (source ../tmp/1359262/tmp//72588.jpg) (19.807858943939, 0.00019693374633789)
2017-06-16 05:01:33: Cleanup tmp folder ../tmp/1359262 (19.808213949203, 0.00035285949707031)
What does it mean these numbers "(19.808213949203, 0.00035285949707031)" to end of the every line?
Any idea how can I speed up the grabber process according to the lines above?
How to find out which process takes most of the time from these lines:
2017-06-16 05:01:33: Processing http://www.drtuber.com/video/3369213/am ... uckdatecom (1359262) (19.372843027115, 0.10102701187134)
2017-06-16 05:01:33: Gallery description is empty: Update with 'admin added' (19.375967979431, 0.0031230449676514)
2017-06-16 05:01:33: Content type: 1 (19.383626937866, 0.0076560974121094)
2017-06-16 05:01:33: Creating thumb (320x180) (Crop profile: 1) (19.385671138763, 0.0020420551300049)
2017-06-16 05:01:33: Downloading img http://pics.drtuber.com/media/videos/tm ... ayer/6.jpg (../tmp/1359262/tmp//588645.jpg) (19.385740041733, 6.8187713623047E-5)
2017-06-16 05:01:33: Source Size 105219 (19.436568021774, 0.050843000411987)
2017-06-16 05:01:33: Make thumb ../tmp/1359262/tmp//588645.jpg (19.436862945557, 0.00027990341186523)
2017-06-16 05:01:33: Creating thumb ../tmp/1359262/tmp//72588.jpg.tmp.jpg -> ../tmp/1359262/tmp//72588.jpg (19.437283039093, 0.00041699409484863)
2017-06-16 05:01:33: Identify /usr/bin//identify -verbose ../tmp/1359262/tmp//72588.jpg.tmp.jpg (19.43748497963, 0.00019407272338867)
2017-06-16 05:01:33: Size: 960x540 (../tmp/1359262/tmp//72588.jpg.tmp.jpg) thumb: 320x180
thumb_ratio: 1.7777777777778 img_ratio: 1.7777777777778 to ../tmp/1359262/tmp//72588.jpg (19.483212947845, 0.045722007751465)
2017-06-16 05:01:33: Cut image (19.48334813118, 0.00013089179992676)
2017-06-16 05:01:33: Face detect Cmd : /home/domains//face --input=../tmp/1359262/tmp//72588.jpg.tmp.jpg --cascade=/home/domains/1.xml (19.483412027359, 6.1988830566406E-5)
2017-06-16 05:01:33: Output : sh: 1: /home/domains//face: not found
(19.487561941147, 0.0041580200195312)
2017-06-16 05:01:33: CMD: /usr/bin//convert -crop +35+0 +repage -crop -35-40 +repage -resize 320x180^ -gravity Center -crop 320x180+0+0 -quality 100 -filter Lanczos -normalize -unsharp 1x0.6+1 -unsharp 1x0.2+1 -enhance -modulate 100,102 ../tmp/1359262/tmp//72588.jpg.tmp.jpg ../tmp/1359262/tmp//72588.jpg (19.487744092941, 0.00017094612121582)
2017-06-16 05:01:33: Identify /usr/bin//identify -verbose ../tmp/1359262/tmp//72588.jpg (19.783210992813, 0.29547095298767)
2017-06-16 05:01:33: Detect img size for ../tmp/1359262/tmp//72588.jpg (320 x 180) (19.797949075699, 0.01473593711853)
2017-06-16 05:01:33: Rot save (2443969): title:Amateur blonde mommy and her toy Karissa from 1fuckdatecom, desc:() (19.80765914917, 0.0097041130065918)
2017-06-16 05:01:33: Saving ../thumbs/2/443//969_mommy_her_from.jpg (source ../tmp/1359262/tmp//72588.jpg) (19.807858943939, 0.00019693374633789)
2017-06-16 05:01:33: Cleanup tmp folder ../tmp/1359262 (19.808213949203, 0.00035285949707031)
What does it mean these numbers "(19.808213949203, 0.00035285949707031)" to end of the every line?
Any idea how can I speed up the grabber process according to the lines above?