summaryrefslogtreecommitdiff
path: root/benchmark/fiber_locals.yml
blob: 8588686477853a354ce18964b72ea58cbf42e562 (plain)
1
2
3
4
5
6
7
8
prelude: |
  th = Thread.current
  th[:key] = :val
benchmark:
  key?: th.key?(:key)
  []: th[:key]
  keys: th.keys
loop_count: 1_000_000