Skip to content

WIP: the tip of my filterx performance efforts #434

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

Open
wants to merge 40 commits into
base: main
Choose a base branch
from

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Dec 30, 2024

Please ignore this PR as it is not intended to be merged. It contains work-in-progress local patches I am yet to extract into separate pull requests.

It is rebased on top of my local merge of all related PRs, so I can maintain those branches separately as they get merged.

@bazsi bazsi force-pushed the filterx-perf-project branch 4 times, most recently from 6e3ce03 to 0b045c1 Compare January 5, 2025 16:32
@bazsi bazsi force-pushed the filterx-perf-project branch 3 times, most recently from fbff61c to 5cab36c Compare January 6, 2025 19:10
@bazsi bazsi force-pushed the filterx-perf-project branch 6 times, most recently from d940c50 to 89e67ad Compare January 11, 2025 16:44
@bazsi bazsi force-pushed the filterx-perf-project branch 4 times, most recently from 5be65da to 706b176 Compare January 22, 2025 10:43
@bazsi bazsi force-pushed the filterx-perf-project branch 5 times, most recently from 441b84d to 7beb087 Compare January 27, 2025 08:49
@bazsi bazsi force-pushed the filterx-perf-project branch 3 times, most recently from 7b7511f to 444d2ca Compare February 16, 2025 12:08
@bazsi bazsi force-pushed the filterx-perf-project branch from 444d2ca to 6a704c7 Compare February 17, 2025 06:45
@bazsi bazsi force-pushed the filterx-perf-project branch from 6a704c7 to dfdb06c Compare February 24, 2025 16:41
@bazsi bazsi force-pushed the filterx-perf-project branch from dfdb06c to 1fb4980 Compare March 17, 2025 06:49
bazsi added 29 commits June 7, 2025 18:25
Is a lot of complications and seems to slow things down due to its intensive
use of thread local variables.

RIP.

Signed-off-by: Balazs Scheidler <[email protected]>
…strcmp calls"

This reverts commit 1b1de84b984e139b3b1acdda5cae9de7e8dbf3ae.
Sometimes we already check if an object is a string, so no need to validate
it again.

Signed-off-by: Balazs Scheidler <[email protected]>
This reverts commit b2c0d28bd29ce04ee395af1e88cfb46f32733bbc.
This reverts commit aa87277aeda114bb2fee9c6eccf60c824fcc4701.
…nctions

The 64 bit versions should be generic enough and any CPU where performance
really matters is 64 bit anyway.

Signed-off-by: Balazs Scheidler <[email protected]>
Also cover existing functionality with tests.

Signed-off-by: Balazs Scheidler <[email protected]>
The previous implementation formatted the port number in the reverse digit
order, as it was using a function originally not intended to be
exported from str-format.c

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
@bazsi bazsi force-pushed the filterx-perf-project branch from fc94589 to 0be199b Compare June 7, 2025 16:25
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