Skip to content

Commit d5c2621

Browse files
Added benchmark, sha, and version metadata to the profile
1 parent 959dbcd commit d5c2621

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redis-benchmarks-specification"
3-
version = "0.1.275"
3+
version = "0.1.277"
44
description = "The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute."
55
authors = ["filipecosta90 <[email protected]>","Redis Performance Group <[email protected]>"]
66
readme = "Readme.md"

redis_benchmarks_specification/__runner__/remote_profiling.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,10 @@ def save_profile_with_metadata(
192192
f"# profile from redis sha = {redis_metadata['redis_git_sha1']} "
193193
f"and pid {redis_metadata['process_id']} for duration of {duration}s. "
194194
f"collection in date {timestamp}\n"
195-
f"# redis_version: {redis_metadata['redis_version']}\n"
196-
f"# redis_git_dirty: {redis_metadata['redis_git_dirty']}\n"
197-
f"# tcp_port: {redis_metadata['tcp_port']}\n"
195+
f"# benchmark_name={benchmark_name}\n"
196+
f"# redis_git_sha1={redis_metadata['redis_git_sha1']}\n"
197+
f"# redis_version={redis_metadata['redis_version']}\n"
198+
f"# redis_git_dirty={redis_metadata['redis_git_dirty']}\n"
198199
)
199200

200201
# Write file with metadata and profile content

0 commit comments

Comments
 (0)