Skip to content

single: add build time nanoseconds - #26

Closed
bagder wants to merge 4 commits into
masterfrom
bagder/build-ns
Closed

bagder wants to merge 4 commits into
masterfrom
bagder/build-ns

Conversation

@bagder

@bagder bagder commented Sep 24, 2026

Copy link
Copy Markdown
Member

and use them in scan, to get subsecond resolution

and use them in scan, to get subsecond resolution

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Critical timestamp parsing and duration calculation errors must be corrected.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 High severity

Open (2)
What changed in this PR

Adds nanosecond-resolution timestamps for subsecond build-time measurement.

Changes:

  • Emits nanoseconds at build boundaries.
  • Parses nanoseconds when calculating build durations.
File Description Review
single.sh Adds nanosecond build timestamps. No blocking issues identified.
scan.pl Parses timestamps and calculates durations. Critical: regexes at lines 915, 919, and 921 fail to capture nanoseconds correctly. Critical: line 1029 uses defined-or (//) instead of dividing the nanosecond delta by one billion.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scan.pl Outdated
Comment thread scan.pl Outdated
@bagder
bagder requested a balanced review from Copilot September 24, 2026 12:51
@bagder
bagder marked this pull request as ready for review September 24, 2026 12:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The invalid regex prevents log scanning and must be fixed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity

Open (1)
Resolved since last review (2)

Comment thread scan.pl
push @confopts, $1;
}
elsif(/^(.*) configure non-debug/) {
elsif(/^(.?*) (\d+|) *configure non-debug/) {
@bagder bagder closed this in d8b18b1 Sep 24, 2026
@bagder
bagder deleted the bagder/build-ns branch September 24, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants