Skip to content

perf: implement wildcard suffix query dedicated path - #493

Open
cheb0 wants to merge 2 commits into
0-enhance-token-block-memoryfrom
0-wildcard-suffix-query-spec
Open

perf: implement wildcard suffix query dedicated path#493
cheb0 wants to merge 2 commits into
0-enhance-token-block-memoryfrom
0-wildcard-suffix-query-spec

Conversation

@cheb0

@cheb0 cheb0 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

Same optimization as for contains.

V5 fractions

Query env Total cold, ms   hot, ms   cold (branch), ms   hot (branch), ms   cold diff hot diff
message:*container_show_item prod 0 93.69 ±1.89 5.39 ±0.10 84.15 ±2.91 3.32 ±0.05 -10.2% -38.4%
request:*201928699403000 prod 0 119.26 ±5.94 15.4 ±0.28 108.03 ±6.04 10.1 ±0.05 -9.4% -34.4%

V6 fractions

Query env Total cold, ms   hot, ms   cold (branch), ms   hot (branch), ms   cold diff hot diff
message:*container_show_item prod 0 93.69 ±1.89 5.39 ±0.10 79.21 ±2.66 2.18 ±0.08 -15.5% -59.6%
request:*201928699403000 prod 0 119.26 ±5.94 15.4 ±0.28 96.12 ±7.44 7.66 ±0.22 -19.4% -50.3%

  • I have read and followed all requirements in CONTRIBUTING.md;
  • I used LLM/AI assistance to make this pull request;

If you have used LLM/AI assistance please provide model name and full prompt:

Model: {{model-name}}
Prompt: {{prompt}}

Stack created with GitHub Stacks CLIGive Feedback 💬

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.24528% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.12%. Comparing base (71984cd) to head (0d3e5e6).

Files with missing lines Patch % Lines
frac/sealed/token/block_loader.go 62.50% 9 Missing ⚠️
frac/active_token_list.go 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@                       Coverage Diff                        @@
##           0-enhance-token-block-memory     #493      +/-   ##
================================================================
+ Coverage                         71.01%   71.12%   +0.10%     
================================================================
  Files                               233      233              
  Lines                             19053    19106      +53     
================================================================
+ Hits                              13531    13589      +58     
+ Misses                             4489     4487       -2     
+ Partials                           1033     1030       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

🔴 Performance Degradation

Some benchmarks have degraded compared to the previous run.
Click on Show table button to see full list of degraded benchmarks.

Show table
Name Previous Current Ratio Verdict
MutexListAppend-4 a73114 4ff7d0
194.53 MB/s 170.34 MB/s 0.88 🔴
83148539.00 ns/op 93928275.00 ns/op 1.13 🔴

@github-actions

Copy link
Copy Markdown
Contributor

🔴 Performance Degradation

Some benchmarks have degraded compared to the previous run.
Click on Show table button to see full list of degraded benchmarks.

Show table
Name Previous Current Ratio Verdict
Indexer-4 a73114 bb97f0
678752766.00 B/op 785154305.00 B/op 1.16 🔴
MutexListAppend-4 a73114 bb97f0
194.53 MB/s 174.61 MB/s 0.90 🔴

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