feat: bench for tutorials - #3
Merged
Merged
Conversation
miaobyte
reviewed
Aug 4, 2026
| ### Environment | ||
| - OS: [e.g. Ubuntu 24.04] | ||
| - Go version: [e.g. 1.24.4] | ||
| - Redis version: [e.g. 7.2] |
Contributor
There was a problem hiding this comment.
redis kvspace不能删除,后续考虑增加tikv等后端。
支持对耗时不敏感的agent kv执行引擎
miaobyte
reviewed
Aug 4, 2026
| - run: go mod tidy | ||
| - run: go build ./... | ||
|
|
||
| # ── tutorial 集成测试(需要 Redis)──────────────────────────────────────── |
Contributor
There was a problem hiding this comment.
redis kvspace不能删除,后续考虑增加tikv等后端。
支持对耗时不敏感的agent kv执行引擎
miaobyte
reviewed
Aug 4, 2026
| import ( | ||
| "os" | ||
|
|
||
| // 注册 KVSpace 实现;--kvspace DSN 的 scheme 选择后端(默认 redis://;可 KVLANG_KVSPACE=art:// 切换进程内 ART)。 |
Contributor
There was a problem hiding this comment.
redis kvspace不能删除,后续考虑增加tikv等后端。
支持对耗时不敏感的agent kv执行引擎
miaobyte
reviewed
Aug 4, 2026
miaobyte
reviewed
Aug 4, 2026
| @@ -0,0 +1,177 @@ | |||
| import csv | |||
Contributor
There was a problem hiding this comment.
建议test.py和test_benchmark.py 合二为一
miaobyte
reviewed
Aug 4, 2026
| type KVPair struct { | ||
| Key string | ||
| Val XValue | ||
| } |
Contributor
There was a problem hiding this comment.
这个文件确实应该删,应该在kvspace-go项目中
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.
#1