Skip to content

[9.x] Formats benchmarkables on dd call#44297

Merged
taylorotwell merged 3 commits into
9.xfrom
feat/benchmark-formatting
Sep 26, 2022
Merged

[9.x] Formats benchmarkables on dd call#44297
taylorotwell merged 3 commits into
9.xfrom
feat/benchmark-formatting

Conversation

@nunomaduro
Copy link
Copy Markdown
Member

This pull request formats benchmarkables on dd calls.

// Before...
Benchmark::dd(fn () => sleep(1)); // 1002.61591713213123

// After...
Benchmark::dd(fn () => sleep(1)); // "1,002.615ms"

@taylorotwell taylorotwell merged commit 426f12c into 9.x Sep 26, 2022
@taylorotwell taylorotwell deleted the feat/benchmark-formatting branch September 26, 2022 13:37
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