Skip to content

perf: optimize TID entry lookup#454

Open
cheb0 wants to merge 1 commit into
mainfrom
0-optimize-tid-lookup-2
Open

perf: optimize TID entry lookup#454
cheb0 wants to merge 1 commit into
mainfrom
0-optimize-tid-lookup-2

Conversation

@cheb0

@cheb0 cheb0 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Description

Redoing what was done previously, but more efficient. Mostly not possible to feel the difference except for aggregations with huge amount of bins in QPR.

Roughly _exists_:k8s_pod | by k8s_pod: ~460 ms => ~320 ms (hot query)


@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 70.83333% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.65%. Comparing base (98c583d) to head (177ddbf).

Files with missing lines Patch % Lines
frac/sealed/token/table.go 57.14% 4 Missing and 2 partials ⚠️
frac/processor/aggregator.go 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #454      +/-   ##
==========================================
- Coverage   70.67%   70.65%   -0.03%     
==========================================
  Files         226      226              
  Lines       17611    17614       +3     
==========================================
- Hits        12447    12445       -2     
- Misses       4238     4241       +3     
- Partials      926      928       +2     

☔ 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.

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