Skip to content

[DO NOT MERGE] refactor: CachedOptimizedRevisions#3196

Draft
miparnisari wants to merge 1 commit into
mainfrom
miparnisari/oss-902-optimizedrevision-caching-tech-debt-refactor-proposal
Draft

[DO NOT MERGE] refactor: CachedOptimizedRevisions#3196
miparnisari wants to merge 1 commit into
mainfrom
miparnisari/oss-902-optimizedrevision-caching-tech-debt-refactor-proposal

Conversation

@miparnisari

Copy link
Copy Markdown
Contributor

This was done solely by claude and i haven't reviewed it for accuracy.

@github-actions github-actions Bot added area/cli Affects the command line area/api v1 Affects the v1 API area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) labels Jun 26, 2026
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: d255d8e Previous: 2ff0a38 Ratio
BenchmarkDatastoreDriver/cockroachdb-overlap-static/TestTuple/SnapshotReverseRead (github.com/authzed/spicedb/internal/datastore/benchmark) 34935521 ns/op 174898 B/op 20200 allocs/op 7674768 ns/op 173017 B/op 20196 allocs/op 4.55
BenchmarkDatastoreDriver/cockroachdb-overlap-static/TestTuple/SnapshotReverseRead (github.com/authzed/spicedb/internal/datastore/benchmark) - ns/op 34935521 ns/op 7674768 ns/op 4.55
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/SnapshotReverseRead (github.com/authzed/spicedb/internal/datastore/benchmark) 33125805 ns/op 172544 B/op 20195 allocs/op 7760687 ns/op 172728 B/op 20195 allocs/op 4.27
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/SnapshotReverseRead (github.com/authzed/spicedb/internal/datastore/benchmark) - ns/op 33125805 ns/op 7760687 ns/op 4.27
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/Touch (github.com/authzed/spicedb/internal/datastore/benchmark) 6181095 ns/op 22694 B/op 288 allocs/op 2970336 ns/op 22085 B/op 287 allocs/op 2.08
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/Touch (github.com/authzed/spicedb/internal/datastore/benchmark) - ns/op 6181095 ns/op 2970336 ns/op 2.08
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/Create (github.com/authzed/spicedb/internal/datastore/benchmark) 6011302 ns/op 19554 B/op 281 allocs/op 2520690 ns/op 19442 B/op 281 allocs/op 2.38
BenchmarkDatastoreDriver/cockroachdb-overlap-insecure/TestTuple/Create (github.com/authzed/spicedb/internal/datastore/benchmark) - ns/op 6011302 ns/op 2520690 ns/op 2.38

This comment was automatically generated by workflow using github-action-benchmark.

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

Labels

area/api v1 Affects the v1 API area/cli Affects the command line area/datastore Affects the storage system area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) Skip-Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant