Skip to content

Conversation

@Uzlopak
Copy link
Collaborator

@Uzlopak Uzlopak commented Nov 22, 2025

…ts for console.table

@Uzlopak Uzlopak changed the title feat: export formatNumber, add documentation for converting the resul… feat: export formatNumber, add documentation for converting the result for console.table Nov 22, 2025
@Uzlopak Uzlopak requested review from Copilot and removed request for jerome-benoit November 22, 2025 00:54
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 22, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tinylibs/tinybench@444

commit: 5e60484

@github-actions
Copy link

github-actions bot commented Nov 22, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/index.js 10.13 KB (0%) 203 ms (0%) 14 ms (+316.42% 🔺) 217 ms

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR exports the formatNumber utility function and adds comprehensive documentation for converting benchmark results to console.table() format. The documentation was reorganized by moving the "Timestamp Providers" section after the new "Convert task results for console.table()" section.

Key changes:

  • Exported formatNumber function from the main package exports
  • Added documentation section showing how to use bench.table() method
  • Included a detailed example of customizing table output with a custom converter function
  • Reorganized README structure by moving the Timestamp Providers section

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/index.ts Added formatNumber to the list of exported utility functions
README.md Added new documentation section for console.table conversion and reorganized existing sections

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Uzlopak Uzlopak merged commit 37b78db into main Nov 22, 2025
40 checks passed
@Uzlopak Uzlopak deleted the expose-format-number branch November 22, 2025 01:04
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