Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: "John Smith" <jsmith@xxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Dec 2005 15:23:04 -0500
"Peter Olcott" <olcott@xxxxxxx> wrote in message
news:7YVrf.37854$QW2.11521@xxxxxxxxxxxxx
> "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx> wrote in message
> news:%23H5M47jCGHA.1144@xxxxxxxxxxxxxxxxxxxxxxx
>> Before you jump to assembly, see if you do any expensive operations in
>> your "time-critical" function.
>>
>> You said you use std::string and std::vector of POD and structs. See if
>> you do any insertions/expansion in the vectors, vector assignments,
>> returning/passing strings and vectors by value. Can you post the function
>> code?
>
> No insertions or deletions, and no passing by value. No matter what I am
> doing, I am doing exactly the same thing for both compilers because I am
> compiling the exact same code. Another poster said that MS reduced the
> quality of their optimizations from 6.0 to 7.0, this would seem to be the
> only explanation besides differing compile options. I can't post the code
> it is the core component of a proprietary system.
>
Why not try downloading the DevPartner Community Edition profiler, then you
can find out the exact lines of code that are slowing things down:
http://www.compuware.com/media.asp?cid=3019X36
.
- Follow-Ups:
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- References:
- VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Scherbina Vladimir
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Scherbina Vladimir
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Scherbina Vladimir
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Joseph M . Newcomer
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Joseph M . Newcomer
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Alexander Grigoriev
- Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- From: Peter Olcott
- VC++ 7.0 makes programs that run slower than VC++ 6.0
- Prev by Date: Re: Template class to allocate dynamic memory
- Next by Date: Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- Previous by thread: Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- Next by thread: Re: VC++ 7.0 makes programs that run slower than VC++ 6.0
- Index(es):
Relevant Pages
|