Menu

Very slow comparison, doesn't use CPU

Help
JohnS
2006-09-14
2012-09-23
  • JohnS

    JohnS - 2006-09-14

    Hi,

    I tried KDiff3 for Windows , the version is 0.9.90. As i'm trying to compare two files of 200-300 lines and there is huge lag, on the status bar there is "Opening files" text and the application is completely frozen for about 1 minute. As i look to the Task Manager it shows almost no process activity, overal CPU usage is no more than 2-4%.
    Is it normal for it to run so slow? The machine is quite fast, it's Athlon 64 with 1GB of ram, Windows XP Pro. Comparison with WinMerge of this two files is done instantly.

     
    • Joachim Eibl

      Joachim Eibl - 2006-11-08

      Fixed in 0.9.91

       
    • Joachim Eibl

      Joachim Eibl - 2006-09-15

      Hi,

      This is a known bug. The actual reason was not yet found but by switching to Qt4 I hope to either remove it or make it better debuggable.

      See also (for monitoring):
      http://sourceforge.net/tracker/index.php?func=detail&aid=1437429&group_id=58666&atid=488548

      Cheers,
      Joachim

      PS: Me too GRRM-Fan.

       
    • Patrick Mezard

      Patrick Mezard - 2006-09-25

      Hello,

      I doubt QT4 will solve anything, I think I recompiled with it but the issue was still there (using QT4 free-license).

      More interesting, the issue is related to network availability: the lag disappears if I unplug the network cable. Now, I have hard time finding what is causing it:

      - kdiff3 trying to remote call someone, or trying to reach slow networked devices (I disconnected manually all network drives but the problem was still there).
      - Whatever anti-virus/domain policy getting in the way.
      

      "Active Ports" does not show anything while running kdiff3, but it may miss ephemeral connections.

      Do you think kdiff3/Qt would try to reach anybody by itself ?

       
      • Joachim Eibl

        Joachim Eibl - 2006-09-25

        Hi Patrick,
        Perhaps you can tell which exact command causes the problem? With Qt4 you're able to debug.
        Of course neither KDiff3 or Qt try to contact someone. (That's easy to analyse by debugging.)
        I think it might be something rather simple, like a dir-command or trying to access an invalid file on the network etc.
        But I still can't really pinpoint it.

         
        • Patrick Mezard

          Patrick Mezard - 2006-09-26

          Hello,
          I will write down every piece of information I have in the bug report, it is easier to track. Unfortunately, I do not have home internet access right now, so I cannot reproduce the issue during my spare time. Anyway I will try to make some tests at work.

           
MongoDB Logo MongoDB