Skip to content

Conversation

@vslpsl
Copy link
Collaborator

@vslpsl vslpsl commented Nov 13, 2025

No description provided.

v.kavlakan added 9 commits November 5, 2025 14:54
# Conflicts:
#	pp/entrypoint/go_constants.h
#	pp/go/cppbridge/entrypoint.h
#	pp/go/storage/querier/series.go
#	pp/go/storage/querier/series_bench_test.go
@vslpsl vslpsl requested review from cherep58 and u-veles-a November 13, 2025 11:55
@vslpsl vslpsl requested a review from vporoshok as a code owner November 13, 2025 11:55
Copy link
Collaborator

@vporoshok vporoshok left a comment

Choose a reason for hiding this comment

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

Please improve imports grouping in IDE

// samples, dsQueryResult := ds.InstantQuery(targetTimestamp, valueNotFoundTimestampValue, lssQueryResult.IDs())
// require.Equal(t, cppbridge.DataStorageQueryStatusSuccess, dsQueryResult.Status)
// return querier.NewInstantSeriesSet(lssQueryResult, snapshot, valueNotFoundTimestampValue, samples)
//}
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove instead of comment

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

v.kavlakan added 3 commits November 13, 2025 14:37
# Conflicts:
#	pp/go/storage/storagetest/fixtures.go
}

samples, result := s.DataStorage().InstantQuery(q.maxt, valueNotFoundTimestampValue, lssQueryResult.IDs())
instantSeries := make([]InstantSeries, lssQueryResult.Len())
Copy link
Collaborator

@cherep58 cherep58 Nov 14, 2025

Choose a reason for hiding this comment

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

Repeatable pattern. Maybe create method NewInstantSeries(size int, defaultTimestamp int64)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

storagetest.MustAppendTimeSeriesToLSSAndDataStorage(lss, ds, timeSeries...)
}

func BenchmarkInstantSeriesSet(b *testing.B) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I refactored this function, why you don't use my version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

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.

4 participants