Skip to content

Use hrtime() and support for nanoseconds#1137

Open
dantleech wants to merge 2 commits intomasterfrom
hrtim
Open

Use hrtime() and support for nanoseconds#1137
dantleech wants to merge 2 commits intomasterfrom
hrtim

Conversation

@dantleech
Copy link
Copy Markdown
Member

hrtime() has been around since PHP 7.3 and provides nanosecond time resolution and montonicity. There's no good reason that PHPBench hasn't supported this:

  • It was annoying to support < 7.3
  • It was annoying to supprt 32 bit platforms.

@dantleech dantleech changed the title Use hrtime() Use hrtime() and support for nanoseconds Mar 7, 2026
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.

1 participant