razor950 / vld

Visual Leak Detector for Visual C++ 2008-2019
https://kinddragon.github.io/vld/
GNU Lesser General Public License v2.1
19 stars 5 forks source link

slow debug with VS 2019 #2

Open oferben11 opened 3 years ago

oferben11 commented 3 years ago

Hi, running in debug mode on Visual Studio 2019 with VLD enabled is very slow. Something like 10 times slower. CPU is high, so some thing is going on. It is a multi-threaded application with a big heap consumption. Any idea?

razor950 commented 3 years ago

I assume if VLD is not enabled everything is fine? I'd need to see if you are hitting a specific use case that is causing this slowness. I didn't write VLD and most of the fixes were a combination of a few different pull requests from the main repo + changes on different public repos + some minor changes I noticed. I suppose I could add more logging so we can try and determine where the issue is occuring.

oferben11 commented 3 years ago

What do you need?

From: r00tz [mailto:notifications@github.com] Sent: Wednesday, November 11, 2020 3:01 AM To: razor950/vld vld@noreply.github.com Cc: Ofer Ben-Oliel ofer.b@stms.co.il; Author author@noreply.github.com Subject: Re: [razor950/vld] slow debug with VS 2019 (#2)

I assume if VLD is not enabled everything is fine? I'd need to see if you are hitting a specific use case that is causing this slowness.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/razor950/vld/issues/2#issuecomment-725060560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEEID3OBXLOMG7COXLRZZDDSPHO3NANCNFSM4TPYONUQ.

razor950 commented 3 years ago

Please check the edited message on Github, I made changes to that message above and I don't think it sent on the email thread.

oferben11 commented 3 years ago

Hi razor Do you need my VS projects to check that out? Any other information? Do you want me to share screen with you? Thanks you Ben

From: Ofer Ben-Oliel Sent: Wednesday, November 11, 2020 9:59 AM To: 'razor950/vld' reply@reply.github.com; razor950/vld vld@noreply.github.com Cc: Author author@noreply.github.com Subject: RE: [razor950/vld] slow debug with VS 2019 (#2)

What do you need?

From: r00tz [mailto:notifications@github.com] Sent: Wednesday, November 11, 2020 3:01 AM To: razor950/vld vld@noreply.github.com<mailto:vld@noreply.github.com> Cc: Ofer Ben-Oliel ofer.b@stms.co.il<mailto:ofer.b@stms.co.il>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [razor950/vld] slow debug with VS 2019 (#2)

I assume if VLD is not enabled everything is fine? I'd need to see if you are hitting a specific use case that is causing this slowness.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/razor950/vld/issues/2#issuecomment-725060560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEEID3OBXLOMG7COXLRZZDDSPHO3NANCNFSM4TPYONUQ.

razor950 commented 2 years ago

could you check if latest version works fine and let me know, sorry for extremely late reply.