Skip to content

Instantly share code, notes, and snippets.

@shimadama
Last active March 13, 2021 18:52
Show Gist options
  • Save shimadama/82cd7f6807d1857d938a6f364f5a1295 to your computer and use it in GitHub Desktop.
Save shimadama/82cd7f6807d1857d938a6f364f5a1295 to your computer and use it in GitHub Desktop.
Benchmark
require 'benchmark'
# ユーザーのCPU時間 / システムのCPU時間 / ユーザーとシステムのCPU時間の合計(経過したリアルタイム)
# 時間の単位は秒
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment