1VIPSPROFILE(1) General Commands Manual VIPSPROFILE(1)
2
3
4
6 vipsprofile - analyze vips profiles
7
9 vipsprofile
10
12 vipsprofile(1) analyzes the file written by the --vips-profile option,
13 calculates some statistics, and draws a graph of evaluation.
14
15 Run any vips program with the --vips-profile option to generate a file
16 called "vips-profile.txt". This contains timing information about CPU
17 use, memory use and thread synchronisation.
18
19 Run vipsprofile(1) to load this file, calculate some statistics, and
20 draw a graph of evaluation saved to vips-profile.svg. This analysis can
21 help track down performance problems.
22
23 For example:
24
25 $ vips sharpen shark.jpg x.jpg --vips-profile
26 recording profile in vips-profile.txt
27 $ vipsprofile
28 reading from vips-profile.txt
29 loaded 3622 events
30 total time = 0.138322
31 name alive wait% work% unkn% memory peakm
32 worker 20 0.069 34.5 58.9 6.65 3.14 5.56
33 worker 21 0.07 1.36 60.2 38.4 2.65 5.07
34 worker 22 0.07 33 55.8 11.1 2.62 5.04
35 worker 23 0.072 34.2 59.7 6.15 2.72 5.14
36 wbuffer 24 0.075 99 1.03 0.00401 0 0
37 wbuffer 25 0.075 95.6 4.39 0.00667 0 0
38 main 26 0.14 52.8 0 47.2 -11.1 0.787
39 peak memory = 21.6 MB
40 writing to vips-profile.svg
41
42
44 returns 0 on success and non-zero on error.
45
47 vips(1)
48
49
50
51 13 December 2013 VIPSPROFILE(1)