summaryrefslogtreecommitdiff
path: root/benchmark/file_join.yml
blob: 845257cf1e4a31aee8fcf812d7489581aea13ca8 (plain)
1
2
3
4
5
6
7
prelude: |
  # frozen_string_literal: true
benchmark:
  two_strings: File.join(__FILE__, "path")
  many_strings: File.join(__FILE__, "path", "a", "b", "c", "d")
  array: File.join([__FILE__, "path", "a", "b", "c", "d"])
  mixed: File.join(__FILE__, "path", "a", "b", ["c", "d"])