Skip to content

refactor: add extensibility API helper - #1207

Merged
BioPhoton merged 13 commits into
mainfrom
feat/utils/user-timing-extensibility-api.types.ts
Jan 9, 2026
Merged

refactor: add extensibility API helper#1207
BioPhoton merged 13 commits into
mainfrom
feat/utils/user-timing-extensibility-api.types.ts

Conversation

@BioPhoton

@BioPhotonBioPhoton commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

Related: #1197

This PR includes:

  • types for performance.mark/measure options
  • helper for performance.mark/measure option creation

@nx-cloud

nx-cloudBot commented Jan 7, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 26358b6

CommandStatusDurationResult
nx affected -t int-test --parallel=3✅ Succeeded1m 3sView ↗

☁️ Nx Cloud last updated this comment at 2026-01-09 21:13:59 UTC

@pkg-pr-new

pkg-pr-newBot commented Jan 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1207

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1207

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1207

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1207

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1207

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1207

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1207

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1207

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1207

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1207

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1207

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1207

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1207

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1207

commit: 26358b6

@github-actions

github-actionsBot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 36b57cf with previous commit 4d69dc3.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category⭐ Previous score⭐ Current score🔄 Score change
Performance🔴 36🔴 33↓ −3.8
Documentation🔴 36🔴 36↑ +0.4
Code coverage🟢 91🟢 91↓ −0.1
Bug prevention🟡 75🟡 75↓ −0.1
Axe Accessibility🟡 88🟡 88↓ −0.1
Code style🟢 99🟢 99
Security🟡 51🟡 51
Updates🟡 78🟡 78
Type Safety🟡 67🟡 67
Miscellaneous🟡 67🟡 67
Accessibility🟢 92🟢 92
Best Practices🟢 100🟢 100
SEO🟢 92🟢 92
👍 1 group improved, 👎 2 groups regressed, 👍 4 audits improved, 👎 7 audits regressed, 12 audits changed without impacting score

🗃️ Groups

🔌 Plugin🗃️ Group⭐ Previous score⭐ Current score🔄 Score change
LighthousePerformance🔴 36🔴 33↓ −3.8
JSDocs coverageDocumentation coverage🔴 36🔴 36↑ +0.4
Code coverageCode coverage metrics🟢 91🟢 91↓ −0.1

31 other groups are unchanged.

🛡️ Audits

🔌 Plugin🛡️ Audit📏 Previous value📏 Current value🔄 Value change
LighthouseInitial server response time was short🟥 Root document took 630 ms🟩 Root document took 580 ms↓ −7.7 %
LighthouseTotal Blocking Time🟥 1,780 ms🟥 3,200 ms↑ +80.2 %
LighthouseFirst Contentful Paint🟥 3.1 s🟥 3.3 s↑ +9.2 %
LighthouseSpeed Index🟥 6.7 s🟥 7.2 s↑ +7.5 %
JSDocs coverageTypes coverage🟥 248 undocumented types🟥 248 undocumented types +0 %
LighthouseTime to Interactive🟥 13.4 s🟥 14.8 s↑ +11.1 %
Code coverageLine coverage🟨 87 %🟨 86.6 %↓ −0.5 %
JSDocs coverageFunctions coverage🟥 587 undocumented functions🟥 597 undocumented functions↑ +1.7 %
Code coverageFunction coverage🟩 94 %🟩 94.1 %↑ +0.1 %
JSDocs coverageVariables coverage🟥 268 undocumented variables🟥 270 undocumented variables↑ +0.7 %
Code coverageBranch coverage🟨 87.3 %🟨 87.3 %↑ +0.1 %
LighthouseAvoids enormous network payloads🟩 Total size was 2,106 KiB🟩 Total size was 2,117 KiB↑ +0.5 %
LighthouseMinimizes main-thread work🟥 9.3 s🟥 13.4 s↑ +44.1 %
LighthouseJavaScript execution time🟥 4.4 s🟥 6.8 s↑ +54.6 %
LighthouseMetrics🟩 100%🟩 100%↑ +11.1 %
LighthouseLargest Contentful Paint🟥 11.5 s🟥 12.5 s↑ +8.9 %
LighthouseMax Potential First Input Delay🟥 1,090 ms🟥 1,930 ms↑ +76.5 %
LighthouseServer Backend Latencies🟩 260 ms🟩 890 ms↑ +249.8 %
LighthouseReduce unused JavaScript🟥 Potential savings of 221 KiB🟥 Potential savings of 222 KiB↑ +25.5 %
LighthouseRemove duplicate modules in JavaScript bundles🟥 Potential savings of 107 KiB🟥 Potential savings of 106 KiB↓ −16.7 %
LighthouseUses efficient cache policy on static assets🟨 31 resources found🟨 31 resources found↑ +0.1 %
LighthouseReduce unused CSS🟥 Potential savings of 95 KiB🟥 Potential savings of 95 KiB↑ +11.1 %
LighthouseNetwork Round Trip Times🟩 20 ms🟩 50 ms↑ +207.8 %

656 other audits are unchanged.

@github-actions

github-actionsBot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 36b57cf with previous commit 4d69dc3.

💼 Project utils

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category⭐ Previous score⭐ Current score🔄 Score change
Documentation🔴 38🔴 40↑ +1.6
Code coverage🟢 95🟢 94↓ −0.2

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 2 audits improved, 👎 3 audits regressed, 1 audit changed without impacting score

🗃️ Groups

🔌 Plugin🗃️ Group⭐ Previous score⭐ Current score🔄 Score change
JSDocs coverageDocumentation coverage🔴 38🔴 40↑ +1.6
Code coverageCode coverage metrics🟢 95🟢 94↓ −0.2

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin🛡️ Audit📏 Previous value📏 Current value🔄 Value change
JSDocs coverageTypes coverage🟥 47 undocumented types🟥 47 undocumented types +0 %
Code coverageLine coverage🟩 97 %🟩 94.5 %↓ −2.6 %
JSDocs coverageFunctions coverage🟥 236 undocumented functions🟥 246 undocumented functions↑ +4.2 %
Code coverageFunction coverage🟩 95.6 %🟩 95.7 %↑ +0.1 %
JSDocs coverageVariables coverage🟥 40 undocumented variables🟥 42 undocumented variables↑ +5 %
Code coverageBranch coverage🟩 91.9 %🟩 91.9 %↓ −0.1 %

438 other audits are unchanged.


13 other projects are unchanged.

@BioPhoton
BioPhoton marked this pull request as ready for review January 8, 2026 16:48
Comment threadpackages/utils/package.json Outdated
Comment threadpackages/utils/src/lib/user-timing-extensibility-api.type.ts
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated
Comment threadpackages/utils/package.json Outdated
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated
BioPhotonand others added 3 commits January 9, 2026 21:41
Comment threadpackages/utils/src/lib/user-timing-extensibility-api-utils.ts Outdated

@hanna-skrylhanna-skryl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@BioPhoton
BioPhoton merged commit a301f1e into mainJan 9, 2026
35 of 36 checks passed
@BioPhoton
BioPhoton deleted the feat/utils/user-timing-extensibility-api.types.ts branch January 9, 2026 21:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@BioPhoton@hanna-skryl