Skip to content

Comments

perf: Optimize _convert_rows_to_protobuf timestamp conversion#6003

Open
abhijeet-dhumal wants to merge 1 commit intofeast-dev:masterfrom
abhijeet-dhumal:perf/optimize-protobuf-timestamp-conversion
Open

perf: Optimize _convert_rows_to_protobuf timestamp conversion#6003
abhijeet-dhumal wants to merge 1 commit intofeast-dev:masterfrom
abhijeet-dhumal:perf/optimize-protobuf-timestamp-conversion

Conversation

@abhijeet-dhumal
Copy link

@abhijeet-dhumal abhijeet-dhumal commented Feb 23, 2026

Resolves #6004

Benchmark Results

Profile Before p99 After p99 Improvement
20 features × 500 entities 48ms 38ms 21% faster
50 features × 500 entities 112ms 77ms 31% faster

The phase dropped from 27ms to ~5ms for the stress test.

Changes

  • Pre-compute timestamps once per entity
  • Added unit tests for the function

Test Plan

  • Unit tests pass
  • Benchmark shows improvement
  • No behavioral change (same output, just faster)

Open with Devin

@abhijeet-dhumal abhijeet-dhumal requested a review from a team as a code owner February 23, 2026 08:05
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@abhijeet-dhumal abhijeet-dhumal force-pushed the perf/optimize-protobuf-timestamp-conversion branch 2 times, most recently from 3ea1ee5 to f9df866 Compare February 23, 2026 08:17
@ntkathole ntkathole changed the title perf: optimize _convert_rows_to_protobuf timestamp conversion perf: Optimize _convert_rows_to_protobuf timestamp conversion Feb 23, 2026
@ntkathole ntkathole force-pushed the perf/optimize-protobuf-timestamp-conversion branch from f9df866 to c0a0475 Compare February 23, 2026 09:26
@abhijeet-dhumal abhijeet-dhumal force-pushed the perf/optimize-protobuf-timestamp-conversion branch from b6a4904 to ea6160d Compare February 23, 2026 09:40
Signed-off-by: abhijeet-dhumal <abhijeetdhumal652@gmail.com>
@abhijeet-dhumal abhijeet-dhumal force-pushed the perf/optimize-protobuf-timestamp-conversion branch from 391c17c to f4a0ed7 Compare February 23, 2026 09:49
@abhijeet-dhumal
Copy link
Author

@ntkathole @franciscojavierarceo May I request your review here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize _convert_rows_to_protobuf: eliminate redundant timestamp conversions

2 participants