I tested three versions of cppcheck for dump output of source files, 1.9, 2.2, and 2.6, and found that the efficiency of the dump function was significantly reduced. I suggest that the new version be optimized.
cmd: cppcheck -f --language=c++ --dump src_dir
I test same 22 src files in src_dir, and get the time consume:
version 1.9: 0.9655min
version 2.2: 1.2828min
version 2.6: 2.7085min
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you wonder why Cppcheck 2.6 takes 2.7085min I suggest that you run with the option --showtime=summary. I would assume that ValueFlow is taking much more time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I will try it.
But based on my tests last week, I found that some source file failed to generate dump files in one night(ver2.6).
So it seems abnarmal.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I will try it.
But based on my tests last week, I found that some source file failed to generate dump files in one night.
So it seems abnarmal.
------------------ Original ------------------
From: "[cppcheck:discussion] " <danielmarjamaki@users.sourceforge.net>;
Date: Sun, Feb 13, 2022 04:16 PM
To: "[cppcheck:discussion] "<general@discussion.cppcheck.p.re.sourceforge.net>;
Subject: [cppcheck:discussion] The performance of the cppcheck --dump function is significantly degraded
If you wonder why Cppcheck 2.6 takes 2.7085min I suggest that you run with the option --showtime=summary. I would assume that ValueFlow is taking much more time.
The performance of the cppcheck --dump function is significantly degraded
I tested three versions of cppcheck for dump output of source files, 1.9, 2.2, and 2.6, and found that the efficiency of the dump function was significantly reduced. I suggest that the new version be optimized.
cmd: cppcheck -f --language=c++ --dump src_dir
I test same 22 src files in src_dir, and get the time consume:
version 1.9: 0.9655min
version 2.2: 1.2828min
version 2.6: 2.7085min
If you wonder why Cppcheck 2.6 takes 2.7085min I suggest that you run with the option
--showtime=summary
. I would assume thatValueFlow
is taking much more time.OK, I will try it.
But based on my tests last week, I found that some source file failed to generate dump files in one night(ver2.6).
So it seems abnarmal.
OK, I will try it.
But based on my tests last week, I found that some source file failed to generate dump files in one night.
So it seems abnarmal.
------------------ Original ------------------
From: "[cppcheck:discussion] " <danielmarjamaki@users.sourceforge.net>;
Date: Sun, Feb 13, 2022 04:16 PM
To: "[cppcheck:discussion] "<general@discussion.cppcheck.p.re.sourceforge.net>;
Subject: [cppcheck:discussion] The performance of the cppcheck --dump function is significantly degraded
If you wonder why Cppcheck 2.6 takes 2.7085min I suggest that you run with the option --showtime=summary. I would assume that ValueFlow is taking much more time.
The performance of the cppcheck --dump function is significantly degraded
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cppcheck/discussion/general/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/