Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CodeCompletion slow on some machine

<< < (4/5) > >>

ollydbg:

--- Quote from: seb_seb0 on April 15, 2012, 04:44:43 pm ---CB is not compiled with the compiler option -pg, correct ? I will need to recompile it.

--- End quote ---
Yes, recompile is need. (I have once recompiled CC plugin with -pg to profile it).


--- Quote ---it would be better to provide 2 patches : one for the additionnal profiling, and one for the code change.
--- End quote ---
Some times, I have also meet this kind of issue, I have two different changes on the same file. No idea how to  create two consequence patches. Maybe, Git can help me.  :)


--- Quote ---And please be patient : I can debug this problem only at work, and I have since more than 1 year a very high pressure on my project (reason why other projects seem abandonned, like the xpmeditor). I cannot afford to spend too much time in a row on this problem. I hope everybody can understand that.
--- End quote ---
I think any kind of contribution is valuable. Thank you!!!

MortenMacFly:

--- Quote from: ollydbg on April 16, 2012, 02:43:03 am ---Some times, I have also meet this kind of issue, I have two different changes on the same file. No idea how to  create two consequence patches. Maybe, Git can help me.  :)

--- End quote ---
No, GIT won't help.

That's why I have a actually 2 working copies, one is SVN-controlled:
When I want to merge something into trunk I first use a diff tool to pump it from my working- into into the SVN-working copy and then create a patch, revert the changes in the svn-working copy and apply the nest modifications etc...

jarod42:
Some DVCS support shelving (which may be done by chunk).
and 'git add --patch' seems to solve your issue.

oBFusCATed:
ollydbg:
gprof is useless when you have shared libraries. It only works well for statically linked applications or at least I've not been able to make it work.
You need something like Intel V-Tune or oprofile.

MortenMacFly:

--- Quote from: oBFusCATed on April 16, 2012, 01:29:45 pm ---gprof is useless when you have shared libraries. It only works well for statically linked applications [...]

--- End quote ---
That's why I wrote:

--- Quote from: MortenMacFly on April 15, 2012, 03:38:39 pm ---I guess using the profiler plugin and a testing environment you can do much better ;-)

--- End quote ---
By that I meant out test ParserTest project, if that is sufficient for that purpose - depending on where the lag would be, it may not cover all methods affected.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version