Debian Codegraph @

help/rchive-internal.txt

raw
1 Performance Default Overrides
2
3 -proc Number of CPU processors used
4 -cons Ratio of parsers to processors
5 -serv Concurrent parser instances
6 -chan Communication channel depth
7 -heap Order restoration heap size
8 -farm Node allocation buffer length
9 -gogc Garbage collection tuning knob
10
11 Debugging
12
13 -debug Display run-time parameter summary
14 -stats Print performance tuning values
15 -timer Report processing duration and rate
16
17 Entrez Index Performance Measurement
18
19 IndexTrials() {
20 echo -e "<Trials>"
21 for tries in {1..5}
22 do
23 cat "$1" | rchive -debug -proc "$2" -e2index
24 done
25 echo -e "</Trials>"
26 }
27
28 for proc in {1..8}
29 do
30 IndexTrials "carotene.xml" "$proc" |
31 xtract -pattern Trials -lbl "$proc" -avg Rate -dev Rate
32 done
33
34 Entrez Invert Performance Measurement
35
36 InvertTrials() {
37 echo -e "<Trials>"
38 for tries in {1..5}
39 do
40 cat "$1" | rchive -debug -proc "$2" -invert
41 done
42 echo -e "</Trials>"
43 }
44
45 for proc in {1..8}
46 do
47 InvertTrials "carotene.e2x" "$proc" |
48 xtract -pattern Trials -lbl "$proc" -avg Rate -dev Rate
49 done
50
51 Execution Profiling
52
53 cat carotene.e2x | ./rchive -profile -invert > /dev/null
54 go tool pprof --pdf ./cpu.pprof > ./callgraph.pdf