Yes Doug, that QB5SERVER is the debug server that is tracking every line
executed. We did invest some time speeding this up as much as we could,
but there is a performance penalty to pay for all of the debugger overhead
that basically has a breakpoint on every executable line of the programs
you are analyzing.
______________________________________________________________________________________
Edmund Reinhardt
905-413-3125
IBM Canada Ltd Rational Developer for i Access Client Solutions
Architect
[1]
https://www.linkedin.com/in/edmundreinhardt/ [2]
http://ibm.biz/rdi_hub [3]
http://ibm.biz/IBMi_ACS
----- Original message -----
From: "Mike Hockings" <hockings@xxxxxxxxxx>
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] Re: [WDSCI-L] Code Coverage observation
Date: Tue, Jun 1, 2021 2:22 PM
Hi Doug, IIRC I think you will find that the code coverage is basically
stepping through the program with the debugger so the performance will
not
be as fast as normal runs. The coverage data gets written to a file so
I
guess you could write a tool to read the incomplete file and display it
somehow though locking on the IBM i may prevent that.
All th ebest, Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: DEnglander--- via WDSCI-L <wdsci-l@xxxxxxxxxxxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Cc: DEnglander@xxxxxxxxxxxxxxx
Date: 2021/06/01 09:59 AM
Subject: [EXTERNAL] [WDSCI-L] Code Coverage observation
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
I am testing a program I have written using Code Coverage. The results
it
gives are very good in terms of feedback of what I have tested and the
percentage of each subprocedure tested, etc. However, I notice that when
I
test using Code Coverage, the testing session is SLOW. I am testing a
green screen application, and the response time is very long. I checked
WRKACTJOB, and see that there is one QB5SERVER job that is racking up
CPU
with my userid assigned to it.
Does anyone else experience this? Is there a setting somewhere that
needs
to be changed to speed up the session? This is running on a DEV box with
a
very small workload.
Also, does anyone know if there is a way to have the Code Coverage
results
be displayed dynamically so I can get as high a "Covered Code" as
possible
in one session? Just curious.
I am running version Version: 9.6.0.9 20201112_1147
Doug
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the
attachments
accompanying it) contain confidential information belonging to the
sender.
The information is intended only for the use of the intended recipient.
If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in
reliance
on the contents of the information is strictly prohibited. Any
unauthorized interception of this transmission is illegal under the law.
If you have received this transmission in error, please promptly notify
the
sender by reply e-mail, and then destroy all copies of the
transmission."
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
[4]
https://lists.midrange.com/mailman/listinfo/wdsci-l ;
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
[5]
https://archive.midrange.com/wdsci-l ;
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
[6]
https://amazon.midrange.com ;
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [7]
https://lists.midrange.com/mailman/listinfo/wdsci-l ;
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [8]
https://archive.midrange.com/wdsci-l ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [9]
https://amazon.midrange.com ;
References
Visible links
1.
https://www.linkedin.com/in/edmundreinhardt/
2.
http://ibm.biz/rdi_hub
3.
http://ibm.biz/IBMi_ACS
4.
https://lists.midrange.com/mailman/listinfo/wdsci-l
5.
https://archive.midrange.com/wdsci-l
6.
https://amazon.midrange.com/
7.
https://lists.midrange.com/mailman/listinfo/wdsci-l
8.
https://archive.midrange.com/wdsci-l
9.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.