Skip to content

maint(resources): add build timing report to builder#15114

Merged
mcdurdin merged 1 commit intomasterfrom
maint/resources/builder-timing
Nov 14, 2025
Merged

maint(resources): add build timing report to builder#15114
mcdurdin merged 1 commit intomasterfrom
maint/resources/builder-timing

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Nov 7, 2025

This is enabled automatically for CI builds, and can be enabled with --timing parameter otherwise. Also, adds builder_launch, documentation to come; see #15129. Documentation for --timing to be done in #15130.

Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Nov 7, 2025

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Android
    • Keyman for Android apk - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Android apk - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Android apk (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • KeyboardHarness apk - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for Android apk (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample1 apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample2 apk - build : all tests passed (no artifacts on BuildLevel "build")
  • Developer
    • Keyman Developer - build : all tests passed (no artifacts on BuildLevel "build")
    • Compiler Regression Tests - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman Developer (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • iOS
    • Keyman for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • Keyboards
    • Test Keyboards - build : all tests passed (no artifacts on BuildLevel "build")
  • macOS
    • Keyman for macOS - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for macOS (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")
  • Windows
    • Keyman for Windows - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Windows - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for Windows (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for Windows (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • Text Editor (32 bit) - build : all tests passed (no artifacts on BuildLevel "build")
    • Text Editor (64 bit) - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S15 milestone Nov 7, 2025
@github-actions github-actions bot added resources/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Nov 7, 2025
@mcdurdin mcdurdin force-pushed the maint/resources/builder-timing branch from cb54121 to 41e2504 Compare November 7, 2025 13:28
@keyman-server keyman-server modified the milestones: A19S15, A19S16 Nov 8, 2025
@mcdurdin mcdurdin force-pushed the maint/resources/builder-timing branch 3 times, most recently from 593671a to ef1f93b Compare November 10, 2025 09:26
@mcdurdin mcdurdin force-pushed the maint/resources/builder-timing branch 2 times, most recently from 3e52d90 to 9f47893 Compare November 10, 2025 09:49
This is enabled automatically for CI builds, and can be enabled with
`--timing` parameter otherwise. Also, adds `builder_launch`,
documentation to come.

Test-bot: skip
@mcdurdin mcdurdin force-pushed the maint/resources/builder-timing branch from 9f47893 to c573709 Compare November 10, 2025 10:03
STATUS_CONTEXT: 'Ubuntu Packaging'
DEBFULLNAME: 'Keyman GHA packager'
DEBEMAIL: 'support@keyman.com'
_builder_timings: false
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

For Debian packaging, we turn off builder timings; also done in the .sh

@mcdurdin mcdurdin marked this pull request as ready for review November 10, 2025 10:48
Comment on lines +810 to +814
if(!mod) {
console.error(`START not found for ${area}`);
} else {
mod.stop = parseFloat(time);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
if(!mod) {
console.error(`START not found for ${area}`);
} else {
mod.stop = parseFloat(time);
}
if(mod) {
mod.stop = parseFloat(time);
} else {
console.error(`START not found for ${area}`);
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Curious why this change?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMO it's easier to read if the non-negated, default branch comes first.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I see. I will leave it for now; I was going for the 'must pass preconditions' pattern but didn't quite reach it I guess!

@mcdurdin mcdurdin merged commit 8f95d84 into master Nov 14, 2025
30 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Nov 14, 2025
@mcdurdin mcdurdin deleted the maint/resources/builder-timing branch November 14, 2025 13:24
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.162-alpha

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

Labels

linux/ maint Maintenance work -- continuous integration, build scripts, infrastructure resources/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants