Skip to content

Instantly share code, notes, and snippets.

@oranie
Created October 28, 2025 00:07
Show Gist options
  • Select an option

  • Save oranie/1ddbac05f27672ebffe41914ebeddba7 to your computer and use it in GitHub Desktop.

Select an option

Save oranie/1ddbac05f27672ebffe41914ebeddba7 to your computer and use it in GitHub Desktop.
local valkey-benchmark
> localにValkeyの最新版をインストールして、valke-benchmarkを実行してほしい。aptかyumが使えるならそれを使ってください。
✦ 承知いたしました。aptまたはyumを使用してValkeyをインストールします。
まず、aptが利用可能か確認します。
╭────────────────────────────────────────
│ ✓ Shell which apt (Check if apt package manager is available.)
│ /usr/bin/apt
------
途中省略
------
それでは、valkey-benchmarkを実行します。-qオプションを付けて、結果の概要を表示します。
╭───────────────────────────────────
│ ✓ Shell valkey-benchmark -q (Run valkey-benchmark with the quiet flag.)
│ PING_INLINE: 17979.14 requests per second, p50=1.367 msec
│ PING_MBULK: 19766.75 requests per second, p50=1.215 msec
│ SET: 18047.29 requests per second, p50=1.375 msec
│ GET: 17988.85 requests per second, p50=1.343 msec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment