Skip to content

Conversation

eguguchkin
Copy link
Contributor

replace map with slice to improve performance for billion-access queries

Fixes #170


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

@eguguchkin eguguchkin force-pushed the 170-replace-map-in-hist branch 2 times, most recently from 53ac030 to 480019b Compare October 1, 2025 15:47
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 61.36364% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.58%. Comparing base (abd6bfb) to head (480019b).

Files with missing lines Patch % Lines
t.go 0.00% 11 Missing ⚠️
frac/processor/search.go 79.31% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
+ Coverage   71.37%   71.58%   +0.21%     
==========================================
  Files         200      201       +1     
  Lines       18191    18227      +36     
==========================================
+ Hits        12984    13048      +64     
+ Misses       4492     4463      -29     
- Partials      715      716       +1     

☔ View full report in Codecov by Sentry.
📢 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.

@eguguchkin eguguchkin force-pushed the 170-replace-map-in-hist branch from 480019b to 5251276 Compare October 1, 2025 23:55
@eguguchkin eguguchkin changed the title perf(histogram): replace map with slice to improve performance perf(search): replace map with slice to improve histogram performance Oct 1, 2025
@eguguchkin eguguchkin modified the milestone: v0.62.1 Oct 2, 2025
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.

Speed up histogram queries by using slices instead of maps
2 participants