Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/replace hrtime #176

Merged
merged 34 commits into from
Mar 2, 2024
Merged

Conversation

jthomas43
Copy link
Contributor

change use of uv_hrtime() to uv_now() to use libuv's cached time and avoid the syscall overhead.

jthomas43 and others added 30 commits April 19, 2023 17:08
@jthomas43 jthomas43 requested a review from mafintosh March 1, 2024 23:24
src/udx.c Show resolved Hide resolved
@mafintosh mafintosh merged commit 8d99c1d into holepunchto:main Mar 2, 2024
3 checks passed
mafintosh pushed a commit that referenced this pull request Mar 27, 2024
* copied perf test from sendmmsg branch

* trailing whitespace

* fix some warnings, add warnings to build

* cleanup warnings

* performance: uv_hrtime -> uv_now

* simpler on_uv_poll

* clean up warnings

* remove debug message

* revert unnecessary change

* clean up

---------

Co-authored-by: James Thomas <jthomas>
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