Skip to content

Log process startup time - #565

Open
WilliamRoebuck wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:feature/log-startup-time
Open

Log process startup time#565
WilliamRoebuck wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:feature/log-startup-time

Conversation

@WilliamRoebuck

Copy link
Copy Markdown
Contributor

Adds two debug logs measuring process startup time. The first log is the time to set up, fork, and exec the process and the second is the time taken to receive kRunning (or assume kRunning in the Native case). The logs are formatted as below:

startProcess pid 68 received for process: control_daemon ( startup time: 314 μs )
startProcess for process 0 ( control_daemon ) done, took 5 ms

@github-actions

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.7.0) and connecting to it...
INFO: Invocation ID: d41396aa-16a3-408a-ae72-4a87fde1b3cd
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (43 packages loaded, 10 targets configured)

Analyzing: target //:license-check (129 packages loaded, 50 targets configured)

Analyzing: target //:license-check (148 packages loaded, 3143 targets configured)

Analyzing: target //:license-check (156 packages loaded, 6161 targets configured)

Analyzing: target //:license-check (166 packages loaded, 9394 targets configured)

Analyzing: target //:license-check (168 packages loaded, 9417 targets configured)

Analyzing: target //:license-check (168 packages loaded, 9417 targets configured)

INFO: Analyzed target //:license-check (173 packages loaded, 11555 targets configured).
[1 / 1] no actions running
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 24.699s, Critical Path: 0.40s
INFO: 16 processes: 4 disk cache hit, 12 internal.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@danth

danth commented Aug 28, 2026

Copy link
Copy Markdown
Member

Maybe a format something like this would be more readable?

Process started.        Name: control_daemon, PID: 68, Time: 314 μs
Process reported ready. Name: control_daemon, PID: 68, Time: 5 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants