[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cost of popen()
From: |
Hideki IWAMOTO |
Subject: |
Re: cost of popen() |
Date: |
Mon, 04 Jul 2005 23:57:14 +0900 |
On Mon, 04 Jul 2005 22:13:34 +0900, Hideki IWAMOTO wrote...
> On Mon, 04 Jul 2005 21:56:29 +0900, Shigio Yamaguchi wrote...
> > > How about "global -f"? Is the --noxargs option required also for global?
> >
> > I think it is not needed, because there is, I believe, no user visible
> > change.
>
> OK. I will rewrite a patch.
This is a revised version.
Changes from previous version are
* Add --noxargs option. This is used for both of creation and update.
* Return verbose message of incremental updating to rev 1.114 of gtags.c.
------
Comparison of execution time
[bison-2.0]$ time gtags
0.469u 0.358s 0:01.59 50.9% 0+0k 0+0io 0pf+0w
[bison-2.0]$ time gtags --noxargs
0.547u 0.762s 0:02.09 62.2% 0+0k 0+0io 0pf+0w
[bison-2.0]$ global -P | xargs touch
[bison-2.0]$ time gtags -i
0.482u 0.374s 0:01.60 53.1% 0+0k 0+0io 0pf+0w
[bison-2.0]$ global -P | xargs touch
[bison-2.0]$ time gtags -i --noxargs
0.600u 0.757s 0:02.10 64.2% 0+0k 0+0io 0pf+0w
-----
verbose message of incremental updating
[bison-2.0]$ touch src/assoc.[ch]
[bison-2.0]$ gtags -iv
checking /home/iwamoto/tmp/bison-2.0/GTAGS
GTAGS found at '/home/iwamoto/tmp/bison-2.0/GTAGS'.
[Tue Jul 05 00:00:00 JST 2005] Gtags started.
Using config file '/home/iwamoto/.globalrc'.
Tag found in '/home/iwamoto/tmp/bison-2.0'.
Incremental update.
[Tue Jul 05 00:00:00 JST 2005] Updating 'GTAGS'.
deleting tags of src/assoc.h
deleting tags of src/assoc.c
adding tags of src/assoc.h
adding tags of src/assoc.c
[Tue Jul 05 00:00:00 JST 2005] Updating 'GRTAGS'.
deleting tags of src/assoc.h
deleting tags of src/assoc.c
adding tags of src/assoc.h
adding tags of src/assoc.c
[Tue Jul 05 00:00:00 JST 2005] Updating 'GSYMS'.
deleting tags of src/assoc.h
deleting tags of src/assoc.c
adding tags of src/assoc.h
adding tags of src/assoc.c
Global databases have been modified.
[Tue Jul 05 00:00:00 JST 2005] Done.
----
Hideki IWAMOTO address@hidden
gtags-add6.patch
Description: Binary data
- Re: cost of popen(), (continued)
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/01
- Re: cost of popen(), Shigio Yamaguchi, 2005/07/02
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/02
- Re: cost of popen(), Shigio Yamaguchi, 2005/07/02
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/03
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/03
- Re: cost of popen(), Shigio Yamaguchi, 2005/07/03
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/04
- Re: cost of popen(), Shigio Yamaguchi, 2005/07/04
- Re: cost of popen(), Hideki IWAMOTO, 2005/07/04
- Re: cost of popen(),
Hideki IWAMOTO <=