1 |
dpavlin |
185 |
Here is a quick overview how cacheing of formats saved a day. Here are |
2 |
|
|
outputs of make profile. |
3 |
|
|
|
4 |
|
|
Before cacheing: |
5 |
|
|
|
6 |
|
|
Total Elapsed Time = 130.4098 Seconds |
7 |
|
|
User+System Time = 126.7298 Seconds |
8 |
|
|
Exclusive Times |
9 |
|
|
%Time ExclSec CumulS #Calls sec/call Csec/c Name |
10 |
|
|
54.6 69.30 167.83 13875 0.0050 0.0121 main::data2xml |
11 |
|
|
30.4 38.60 69.833 743146 0.0001 0.0001 main::parse_iso_format |
12 |
|
|
14.3 18.15 22.102 201297 0.0000 0.0000 main::isis_sf |
13 |
|
|
10.6 13.50 13.502 200394 0.0000 0.0000 Text::Iconv::convert |
14 |
|
|
4.64 5.882 9.130 201297 0.0000 0.0000 main::cnv_cp |
15 |
|
|
3.32 4.208 4.208 130848 0.0000 0.0000 main::xmlify |
16 |
|
|
3.18 4.032 13.813 155421 0.0000 0.0000 main::x |
17 |
|
|
3.12 3.949 3.949 475311 0.0000 0.0000 OpenIsis::subfields |
18 |
|
|
3.08 3.906 3.906 116974 0.0000 0.0000 Text::Unaccent::unac_string |
19 |
|
|
3.02 3.827 73.660 743146 0.0000 0.0001 main::parse_format |
20 |
|
|
2.42 3.070 3.070 24922 0.0001 0.0001 DBI::st::execute |
21 |
|
|
1.53 1.933 3.142 104893 0.0000 0.0000 main::mkformat |
22 |
|
|
0.92 1.172 1.172 13875 0.0001 0.0001 OpenIsis::read |
23 |
|
|
0.59 0.752 0.752 28993 0.0000 0.0000 index_DBI::insert |
24 |
|
|
0.33 0.420 3.540 1 0.4201 3.5396 index_DBI::close |
25 |
|
|
|
26 |
|
|
After format cache implementation: (filters also load only once) |
27 |
|
|
|
28 |
|
|
Total Elapsed Time = 69.53874 Seconds |
29 |
|
|
User+System Time = 68.58874 Seconds |
30 |
|
|
Exclusive Times |
31 |
|
|
%Time ExclSec CumulS #Calls sec/call Csec/c Name |
32 |
|
|
65.3 44.84 90.453 13875 0.0032 0.0065 main::data2xml |
33 |
|
|
24.2 16.65 28.905 391769 0.0000 0.0001 main::parse_iso_format |
34 |
|
|
13.8 9.479 9.479 151026 0.0000 0.0000 Text::Iconv::convert |
35 |
|
|
10.9 7.540 9.619 109406 0.0000 0.0000 main::isis_sf |
36 |
|
|
5.04 3.454 11.252 131626 0.0000 0.0000 main::x |
37 |
|
|
3.37 2.313 31.218 391769 0.0000 0.0001 main::parse_format |
38 |
|
|
3.28 2.249 2.249 55675 0.0000 0.0000 main::xmlify |
39 |
|
|
3.03 2.079 2.079 280696 0.0000 0.0000 OpenIsis::subfields |
40 |
|
|
2.39 1.642 1.642 13875 0.0001 0.0001 OpenIsis::read |
41 |
|
|
1.86 1.279 2.629 180129 0.0000 0.0000 main::cnv_cp |
42 |
|
|
0.47 0.324 0.324 2757 0.0001 0.0001 DBI::st::execute |
43 |
|
|
0.40 0.276 0.276 41801 0.0000 0.0000 main::unac_string |
44 |
|
|
0.34 0.232 0.573 43784 0.0000 0.0000 main::mkformat |
45 |
|
|
0.22 0.150 0.387 23 0.0065 0.0168 main::BEGIN |
46 |
|
|
0.21 0.142 0.142 13875 0.0000 0.0000 main::progress |