This is an additional information. Even if compiled for 64 bits, the performance degradation does not happen on statically linked binary.
===== checked out with -D "2006-03-03 JST", configured with LDFLAGS=-static $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null 1.164u 0.084s 0:01.24 100.0% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null 1.168u 0.088s 0:01.25 99.2% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null 4.768u 0.168s 0:04.93 99.7% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null 4.784u 0.176s 0:04.95 100.0% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path -xs '.*' > /dev/null 13.296u 0.236s 0:13.53 99.9% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path -xs '.*' > /dev/null 13.324u 0.196s 0:13.52 99.9% 0+0k 0+0io 0pf+0w ===== checked out with -D "2006-03-04 JST", configured with LDFLAGS=-static $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null 1.204u 0.064s 0:01.26 100.0% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null 1.216u 0.088s 0:01.30 99.2% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null 4.708u 0.144s 0:04.84 100.0% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null 4.668u 0.184s 0:04.85 99.7% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path -xs '.*' > /dev/null 12.904u 0.176s 0:13.08 99.9% 0+0k 0+0io 0pf+0w $ time global --nosource --nofilter=path -xs '.*' > /dev/null 12.816u 0.228s 0:13.04 99.9% 0+0k 0+0io 0pf+0w On Wed, 15 Mar 2006 21:29:00 +0900, Hideki IWAMOTO wrote... > This performance degradation seems to be peculiar to 64 bit binary, > and not to happen in 32 bit binary. :-( > > ===== checked out with -D "2006-03-03 JST", compiled with -m32 > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > 1.400u 0.060s 0:01.46 100.0% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > 1.416u 0.052s 0:01.46 100.0% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null > 5.652u 0.176s 0:05.83 99.8% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null > 5.728u 0.184s 0:05.91 99.8% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > 12.192u 0.184s 0:12.37 100.0% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > 12.144u 0.216s 0:12.36 99.9% 0+0k 0+0io 0pf+0w > > ===== checked out with -D "2006-03-04 JST", compiled with -m32 > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > 1.348u 0.068s 0:01.41 99.2% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > 1.336u 0.068s 0:01.40 99.2% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null > 5.520u 0.160s 0:05.67 100.1% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > /dev/null > 5.520u 0.144s 0:05.66 100.0% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > 11.936u 0.224s 0:12.16 99.9% 0+0k 0+0io 0pf+0w > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > 12.040u 0.188s 0:12.23 99.9% 0+0k 0+0io 0pf+0w > > On Wed, 15 Mar 2006 02:34:28 +0900, Hideki IWAMOTO wrote... > > Some changes that decreased the performance of global -x ".*" were made on > > March 3. > > However, I cannot ascertain it. > > Are there any ideas? > > > > GTAGSCACHE=100000000, format=compact > > source tree: linux-2.6.15 > > > > ===== checked out with -D "2006-03-03 JST" > > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > > 1.204u 0.076s 0:01.27 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > > 1.220u 0.056s 0:01.27 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > > > /dev/null > > 4.788u 0.152s 0:04.94 99.7% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > > > /dev/null > > 4.756u 0.156s 0:04.90 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > > 12.836u 0.256s 0:13.09 99.9% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > > 12.848u 0.216s 0:13.06 99.9% 0+0k 0+0io 0pf+0w > > > > ===== checked out with -D "2006-03-04 JST" > > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > > 1.900u 0.092s 0:01.99 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -x '.*' > /dev/null > > 1.908u 0.080s 0:01.98 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > > > /dev/null > > 9.676u 0.148s 0:09.82 99.8% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path --nofilter=sort -xr '.*' > > > /dev/null > > 10.400u 0.164s 0:10.56 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > > 18.801u 0.196s 0:18.99 100.0% 0+0k 0+0io 0pf+0w > > $ time global --nosource --nofilter=path -xs '.*' > /dev/null > > 18.789u 0.216s 0:19.00 99.9% 0+0k 0+0io 0pf+0w ---- Hideki IWAMOTO [EMAIL PROTECTED] _______________________________________________ Bug-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-global
