Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT Performance
CDT Performance [message #45168] Tue, 15 October 2002 11:43 Go to next message
Eclipse UserFriend
When I open a C/C++ Project I notice a long (20 sec?) pause so I looked at
what it was doing with FileMon. I see thousands of single character
operating system reads like this:

11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
SUCCESS Offset: 60 Length: 1
11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
SUCCESS Offset: 61 Length: 1
11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
SUCCESS Offset: 62 Length: 1
11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
SUCCESS Offset: 63 Length: 1
11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
SUCCESS Offset: 64 Length: 1
11:25:28.424 AM javaw.exe:2928 IRP_MJ_CLEANUP U:\script\tkmdxds.bld
SUCCESS
11:25:28.424 AM javaw.exe:2928 IRP_MJ_CLOSE U:\script\tkmdxds.bld
SUCCESS


Also I see hundreds of atempts to run ctags like this:

11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE

U:\Eclipse\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra=q --
fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=cdefgm
npstuvx -f - U:\src\tkmdxpr1.c * 0xC000003B Attributes: Any Options: Open
11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE

C:\WINNT\System32\ctags --excmd=pattern --format=2 --if0=yes --sort=no --ext
ra=q --fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types
=cdefgmnpstuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any
Options: Open
11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE

C:\WINNT\system\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra
=q --fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=c
defgmnpstuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any
Options: Open
11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE

C:\WINNT\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra=q --fi
elds=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=cdefgmnp
stuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any Options: Open


I don't think I have a ctags on my path. And if I look at the outline of a
file I see thousands of single character reads like this:

11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
Offset: 33450 Length: 1
11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
Offset: 33451 Length: 1
11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
Offset: 33452 Length: 1
11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
Offset: 33453 Length: 1
11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c END OF
FILE Offset: 33454 Length: 1
11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c END OF
FILE Offset: 33454 Length: 1

I tried turning off the 'Show File Members in Project View' option but I
couldn't tell a difference in the I/O done. I'm running the 20021002 version
of CTD with Eclipse 2.0.1 and JDK 1.4.1 on Windows XP.

Can anything be done to make it faster?
Re: CDT Performance [message #46195 is a reply to message #45168] Mon, 21 October 2002 16:54 Go to previous message
Eclipse UserFriend
The one byte reads appear to be coming from the C/C++ Parser, will take a look at
it, it seems like a good (and easy) candidate from optimization....

As to the ctags launching this is from the C/C++ indexer which is currently
being worked on to be made less resource hungry, and we can look at catching this
failure too.

Thanks.


Ed Burnette wrote:
> When I open a C/C++ Project I notice a long (20 sec?) pause so I looked at
> what it was doing with FileMon. I see thousands of single character
> operating system reads like this:
>
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
> SUCCESS Offset: 60 Length: 1
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
> SUCCESS Offset: 61 Length: 1
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
> SUCCESS Offset: 62 Length: 1
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
> SUCCESS Offset: 63 Length: 1
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_READ U:\script\tkmdxds.bld
> SUCCESS Offset: 64 Length: 1
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_CLEANUP U:\script\tkmdxds.bld
> SUCCESS
> 11:25:28.424 AM javaw.exe:2928 IRP_MJ_CLOSE U:\script\tkmdxds.bld
> SUCCESS
>
>
> Also I see hundreds of atempts to run ctags like this:
>
> 11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE
>
> U:\Eclipse\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra=q --
> fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=cdefgm
> npstuvx -f - U:\src\tkmdxpr1.c * 0xC000003B Attributes: Any Options: Open
> 11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE
>
> C:\WINNT\System32\ctags --excmd=pattern --format=2 --if0=yes --sort=no --ext
> ra=q --fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types
> =cdefgmnpstuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any
> Options: Open
> 11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE
>
> C:\WINNT\system\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra
> =q --fields=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=c
> defgmnpstuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any
> Options: Open
> 11:25:46.173 AM starter.exe:3872 IRP_MJ_CREATE
>
> C:\WINNT\ctags --excmd=pattern --format=2 --if0=yes --sort=no --extra=q --fi
> elds=aiKlmnsz --line-directives=yes --sort=no --kind-long --c-types=cdefgmnp
> stuvx -f - U:\src\tkmdxpr1.c NAME INVALID Attributes: Any Options: Open
>
>
> I don't think I have a ctags on my path. And if I look at the outline of a
> file I see thousands of single character reads like this:
>
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
> Offset: 33450 Length: 1
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
> Offset: 33451 Length: 1
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
> Offset: 33452 Length: 1
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c SUCCESS
> Offset: 33453 Length: 1
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c END OF
> FILE Offset: 33454 Length: 1
> 11:21:04.300 AM javaw.exe:2296 IRP_MJ_READ U:\src\tkmdxpr1.c END OF
> FILE Offset: 33454 Length: 1
>
> I tried turning off the 'Show File Members in Project View' option but I
> couldn't tell a difference in the I/O done. I'm running the 20021002 version
> of CTD with Eclipse 2.0.1 and JDK 1.4.1 on Windows XP.
>
> Can anything be done to make it faster?
>
>
>
Previous Topic:Re: I/O Redirection
Next Topic:extending C editor?
Goto Forum:
  


Current Time: Wed Jul 23 04:39:50 EDT 2025

Powered by FUDForum. Page generated in 0.07718 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top