HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-3.0.2/benchmark/keyword_arguments.yml
prelude: |
  h = {a: 1}
  def kw(a: 1) a end
  def kws(**kw) kw end
benchmark:
  kw_to_kw: "kw(a: 1)"
  kw_splat_to_kw: "kw(**h)"
  kw_to_kw_splat: "kws(a: 1)"
  kw_splat_to_kw_splat: "kws(**h)"
  kw_and_splat_to_kw: "kw(a: 1, **h)"
  kw_splats_to_kw: "kw(**h, **h)"
  kw_and_splat_to_kw_splat: "kws(a: 1, **h)"
  kw_splats_to_kw_splat: "kws(**h, **h)"