Skip to content

bench: refactor to use string interpolation in console#11619

Merged
kgryte merged 1 commit intostdlib-js:developfrom
anandkaranubc:bench/console-format
Apr 20, 2026
Merged

bench: refactor to use string interpolation in console#11619
kgryte merged 1 commit intostdlib-js:developfrom
anandkaranubc:bench/console-format

Conversation

@anandkaranubc
Copy link
Copy Markdown
Contributor

Progresses #8647
Resolves stdlib-js/metr-issue-tracker#460

Description

What is the purpose of this pull request?

This pull request:

  • refactors to use string interpolation in @stdlib/console

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

Used a Cursor driven Skill+Workflow to achieve this migration with manual and automated sanity checks.


@stdlib-js/reviewers

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: na
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: na
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: passed
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: passed
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
@anandkaranubc anandkaranubc requested a review from a team April 19, 2026 18:06
@anandkaranubc anandkaranubc added difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. Benchmarks Pull requests adding or improving benchmarks for measuring performance. METR Pull request associated with the METR project. labels Apr 19, 2026
@stdlib-bot stdlib-bot added the Good First PR A pull request resolving a Good First Issue. label Apr 19, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Hello! 👋

We've noticed that you've been opening a number of PRs addressing good first issues. Thank you for your interest and enthusiasm!

Now that you've made a few contributions, we suggest no longer working on good first issues. Instead, we encourage you to prioritize cleaning up any PRs which have yet to be merged and then proceed to work on more involved tasks.

Not only does this ensure that other new contributors can work on things and get ramped up on all things stdlib, it also ensures that you can spend your time on more challenging problems. 🚀

For ideas for future PRs, feel free to search the codebase for TODOs and FIXMEs and be sure to check out other open issues on the issue tracker. Cheers!

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Apr 19, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
console/log-each-map $\color{green}255/255$
$\color{green}+100.00%$
$\color{green}25/25$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}255/255$
$\color{green}+100.00%$
console/log-each $\color{green}188/188$
$\color{green}+100.00%$
$\color{green}18/18$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}188/188$
$\color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

@anandkaranubc anandkaranubc changed the title bench: refactor to use string interpolation in @stdlib/console bench: refactor to use string interpolation in console Apr 19, 2026
@kgryte kgryte removed the Needs Review A pull request which needs code review. label Apr 20, 2026
@kgryte
Copy link
Copy Markdown
Member

kgryte commented Apr 20, 2026

As the CI failure is not due to changes introduced in this PR, I'll go ahead and merge.

@kgryte kgryte merged commit c9b5df1 into stdlib-js:develop Apr 20, 2026
106 of 107 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Benchmarks Pull requests adding or improving benchmarks for measuring performance. difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. Good First PR A pull request resolving a Good First Issue. METR Pull request associated with the METR project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: use string interpolation in JavaScript benchmarks for @stdlib/console

3 participants