Ted was curious what impact the build_module_from_dir in init.cpp had on startup times, so I commented out and did another timing:
real 0m0.681s user 0m0.637s sys 0m0.035s
So about 0.04s of real time... not really worth worrying about, esp. since it only occurs during startup, although if it grows as more extensions are added, maybe it'd be worth keeping an eye on. I think Bulia's right, though, that it's the renderer where optimization focus is needed.
Bryce
On Sat, 3 Jul 2004, Bryce Harrington wrote:
--------------------- Real Time (s) ----
Inkscape Run 1 Run 2 Run 3 Run 4 Run 5 Average
0.35 0.125 0.119 0.118 0.119 0.120 0.120 0.36 0.142 0.140 0.142 0.144 0.151 0.144 0.37 0.200 0.195 0.193 0.196 0.195 0.196 0.38.1 2.289 2.317 2.297 2.303 2.309 2.303 CVS 0.720 0.725 0.727 0.732 0.720 0.725
--------------------- User Time (s) ----
Inkscape Run 1 Run 2 Run 3 Run 4 Run 5 Average
0.35 0.096 0.092 0.091 0.094 0.098 0.094 0.36 0.117 0.111 0.119 0.114 0.113 0.115 0.37 0.166 0.166 0.170 0.172 0.162 0.167 0.38.1 2.216 2.228 2.223 2.233 2.244 2.229 CVS 0.645 0.652 0.665 0.654 0.645 0.652
--------------------- System Time (s) ----
Inkscape Run 1 Run 2 Run 3 Run 4 Run 5 Average
0.35 0.014 0.013 0.016 0.014 0.010 0.013 0.36 0.011 0.016 0.011 0.013 0.016 0.013 0.37 0.026 0.022 0.021 0.016 0.025 0.022 0.38.1 0.040 0.036 0.034 0.036 0.031 0.035 CVS 0.046 0.035 0.034 0.046 0.044 0.041