Skip to content

doc: indicate that name is no longer an optional argument - #47102

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
danielroe:patch-1
Mar 17, 2023
Merged

doc: indicate that name is no longer an optional argument#47102
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
danielroe:patch-1

Conversation

@danielroe

@danielroe danielroe commented Mar 15, 2023

Copy link
Copy Markdown
Contributor

resolves #47097

This updates the documentation around performance.mark() to indicate that the name argument is not optional, and that this change was made in Node 19.0.0.

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to Node.js documentation. perf_hooks Issues and PRs related to the perf_hooks module and performance measurement APIs. labels Mar 15, 2023
@danielroe danielroe changed the title docs: indicate that name is no longer an optional argument doc: indicate that name is no longer an optional argument Mar 15, 2023
@debadree25 debadree25 added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Mar 15, 2023
@anonrig anonrig added the commit-queue PRs queued for automated landing through the Commit Queue. label Mar 15, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Mar 17, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 7deb09c into nodejs:main Mar 17, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 7deb09c

@danielroe
danielroe deleted the patch-1 branch March 17, 2023 13:04
targos pushed a commit that referenced this pull request Mar 18, 2023
PR-URL: #47102
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. doc Issues and PRs related to Node.js documentation. perf_hooks Issues and PRs related to the perf_hooks module and performance measurement APIs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

performance.mark() throws error 'The "name" argument must be specified'

9 participants