bug-global
[Top][All Lists]
Advanced

[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: Sat, 02 Jul 2005 01:54:21 +0900

On Mon, 20 Jun 2005 00:06:21 +0900, Hideki IWAMOTO wrote...
> If this is O.K. I will also write a patch to gtags, 
> 

This is a patch for gtags.
Only the addition to the standard format tag file is changed.

diffstat:
 global/global.c   |   21 ++-----
 gtags/gtags.c     |  153 +++++++++++++++++++++++++++++++++++++++++-------------
 libutil/gtagsop.c |   39 +++++++++----
 libutil/gtagsop.h |    4 -
 4 files changed, 156 insertions(+), 61 deletions(-)

---------------

$ tar xfz ~/download/bison/bison-2.0.tar.gz
$ cd bison-2.0

======= current cvs version =======
$ time gtags
0.542u 0.754s 0:02.08 62.0%     0+0k 0+0io 0pf+0w
$ global -P | xargs touch
$ time gtags -i
0.573u 0.773s 0:02.13 62.9%     0+0k 0+0io 0pf+0w

======= patched version =======
$ time gtags
0.427u 0.388s 0:01.43 55.9%     0+0k 0+0io 0pf+0w
$ global -P | xargs touch
$ time gtags -i
0.440u 0.410s 0:01.51 56.2%     0+0k 0+0io 0pf+0w

----
Hideki IWAMOTO  address@hidden

Attachment: gtags-add.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]