[#103] feat: Add GEMINI.md documentation and SqlExpiredEvents example#104
Open
pao214 wants to merge 1 commit intoyugabyte:masterfrom
Open
[#103] feat: Add GEMINI.md documentation and SqlExpiredEvents example#104pao214 wants to merge 1 commit intoyugabyte:masterfrom
pao214 wants to merge 1 commit intoyugabyte:masterfrom
Conversation
… example Add `GEMINI.md` to serve as a guide for creating new applications and workload generators with the Gemini CLI. Outline the required steps for using the CLI: 1. Generate a new application from workload and schema requirements. 2. Format the generated code to match the YugabyteDB code style. 3. Prompt the user for the information needed to build and run the app. 4. Record the original prompt to ensure reproducibility. Add the `SqlExpiredEvents` application to demonstrate this workflow. The application must show how index conditions are not pushed down effectively when using a `timestamp` column. Provide a flag to toggle between `timestamp` and `timestamptz` to illustrate the performance difference. The resulting performance comparison is as follows: * Without --use_timestamptz: ~0.36 ops/sec | ~2749.72 ms/op * With --use_timestamptz: ~3.72 ops/sec | ~269.93 ms/op The 10x difference is explained by the fact that the index scan only matches 1/10th of the rows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
GEMINI.mdto serve as a guide for creating new applications and workload generators with the Gemini CLI.Outline the required steps for using the CLI:
Add the
SqlExpiredEventsapplication to demonstrate this workflow. The application must show how index conditions are not pushed down effectively when using atimestampcolumn. Provide a flag to toggle betweentimestampandtimestamptzto illustrate the performance difference.The resulting performance comparison is as follows:
The 10x difference is explained by the fact that the index scan only matches 1/10th of the rows.