[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] improve the performance of htags
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] improve the performance of htags |
Date: |
Fri, 05 Aug 2005 23:10:23 +0900 |
This is a patch for improving the performance of htags
by decreasing the frequency of invoking parser.
diffstat
htags/anchor.c | 146 ++++++++++++++++++++++++++++++++++++++++++++++-----------
htags/anchor.h | 4 +
htags/htags.c | 69 +++++++++++++++++++++++---
3 files changed, 184 insertions(+), 35 deletions(-)
Comparison of execution time
(GTAGSCACHE=100000000, format=compact, htags_options=-aDfFnosx)
==== current cvs version ====
[linux-2.0.40]$ time htags --statistics
- Elapsed time of making duplicate entries ............ 12 seconds.
- Elapsed time of making function index ............... 1 seconds.
- Elapsed time of making file index ................... 1 seconds.
- Elapsed time of making include file index ........... 2 seconds.
- Elapsed time of making hypertext .................... 64 seconds.
- The entire elapsed time ............................. 80 seconds.
39.316u 36.033s 1:24.23 89.4% 0+0k 0+0io 3pf+0w
==== patched version ====
[linux-2.0.40]$ time htags --statistics
- Elapsed time of making duplicate entries ............ 12 seconds.
- Elapsed time of making function index ............... 0 seconds.
- Elapsed time of making file index ................... 2 seconds.
- Elapsed time of making include file index ........... 4 seconds.
- Elapsed time of making hypertext .................... 30 seconds.
- The entire elapsed time ............................. 48 seconds.
31.934u 9.837s 0:54.96 75.9% 0+0k 0+0io 0pf+0w
----
Hideki IWAMOTO address@hidden
htags-anchor.patch
Description: Binary data
- [PATCH] improve the performance of htags,
Hideki IWAMOTO <=