Description
Setting this environment variable enables jBASE process
profiling.
| 1 | Standard profiling. |
| 2 |
Short profiling, it will record non-timed events, such as subroutine calls and INPUT statements but will not record the clock ticks so you can't determine exactly how your CPU time was consumed. |
| 3 |
Used by the jcover tools to allow you to run an application and see what parts of your code were executed and what weren't. Very useful for regression testing where you want , for example, more than 90% of your code executed during tests. |
| 4 |
Verbose profiling. Profiling will record every line of code that was executed during the program run and store the result in the normal output file. |
Default
Profiling is not enabled.
Notes
Process profiles are created by running programs when profiling is
enabled. Profiles are examined with the jprof
command.
Setting
As per normal environment variable.
Unix
JBCPROFILE=4
export JBCPROFILE
Windows
Profiling is not yet available on Windows.