Skip to content

Add the --timings option to the Kometa run options - #1981

Merged
bullmoose20 merged 1 commit into
Kometa-Team:developfrom
HoneyBearTech:add-timings-run-option
Nov 25, 2026
Merged

bullmoose20 merged 1 commit into
Kometa-Team:developfrom
HoneyBearTech:add-timings-run-option

Conversation

@HoneyBearTech

@HoneyBearTech HoneyBearTech commented Nov 22, 2026 •

Copy link
Copy Markdown

Related Issues

N/A

What type of PR is this?

  • Bug Fix (non-breaking change which fixes an issue)
  • Feature/Tweak (non-breaking change which adds new functionality or enhances existing functionality)
  • Breaking Change (fix or feature that would break any existing functionality for users)
  • Documentation Update
  • Other

Description

Kometa has a --timings run flag (kometa.py, added in Kometa-Team/Kometa#3382). It writes a timings summary and a JSON/CSV breakdown to the logs. Quickstart's Kometa page didn't offer it.

This adds a Timings checkbox alongside the other boolean run options:

  • the _cliFlags.js catalog entry and OTHER_FLAGS;
  • CHECKBOX_FLAGS in _runCommand.js;
  • the header badge count in _headerBadges.js;
  • the change listeners in 900-kometa.js;
  • the checkbox loop in templates/900-kometa.html.

The help text notes two limits of older Kometa builds, so users update first:

Tests:

  • The exact flag list and the header count are updated.
  • The help text shows in both the friendly-label and CLI-label modes.
  • --timings is appended when the box is ticked and omitted when it isn't.
  • Toggling the box rebuilds the command.

npm test, npm run build and eslint pass.

Which Environment Did You Test On?

  • Local Install (Windows/Linux/Mac via python quickstart.py)
  • Windows Executable
  • Linux Executable
  • macOS Executable
  • Docker
  • Other

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Signed-off-by: Sean Stoube <31805425+HoneyBearTech@users.noreply.github.com>
@bullmoose20
bullmoose20 merged commit 587ae63 into Kometa-Team:develop Nov 25, 2026
13 checks passed
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