[refactor][utils] Use Folly for thread executor - #1109
Merged
Merged
Conversation
chuandew
force-pushed
the
build/add-folly
branch
7 times, most recently
from
September 17, 2026 07:19
ab6b0af to
639f418
Compare
chuandew
marked this pull request as ready for review
September 17, 2026 07:23
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 17, 2026
chuandew
force-pushed
the
build/add-folly
branch
from
September 17, 2026 08:53
639f418 to
ecf98eb
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 17, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 18, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 18, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 18, 2026
chuandew
force-pushed
the
build/add-folly
branch
from
September 18, 2026 11:02
7066e8a to
ecf98eb
Compare
…r with the native timer.
…verrides stay consistent.
chuandew
force-pushed
the
build/add-folly
branch
from
September 18, 2026 11:29
ecf98eb to
0d8e936
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 19, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
对比版本
本次分别构建并实际测量下面两个固定 commit,不沿用之前版本的数据:
1f247f39c52e66d9b6698ddedfcb0da8ca40a9e4ecf98eb4086ca6c2473942e2581aee3205deff5b两边使用同一份基准源码、相同依赖和编译参数、相同绑核与运行次数。按 AB、BA、AB、BA 交替测试,共 80 次测量进程运行,全部成功。
NewHandle 平均耗时
单位:µs/次,越低越好。
ReleaseHandler 平均耗时
单位:µs/次,越低越好。
结论:本次空句柄微基准中,NewHandle 在全部测试配置下更快;ReleaseHandler 在 4 线程及以上更快,单线程有小幅增加。创建+释放的合计耗时在全部配置下均降低。 这是客户端内部句柄管理函数的耗时,不包含完整 open/close、FUSE 或业务 I/O,不将其换算成文件系统整体吞吐提升。