summaryrefslogtreecommitdiff
path: root/benchmark/string_upcase.yml
blob: 456d213c74601a96ab4ae0438f8ea6e20d25d55d (plain)
1
2
3
4
5
6
7
8
9
10
prelude: |
  str1 = [*"a".."z",*"0".."9"].join("")
  str10 = str1 * 10
  str100 = str10 * 10
  str1000 = str100 * 10
benchmark:
  upcase-1: str1.upcase
  upcase-10: str10.upcase
  upcase-100: str100.upcase
  upcase-1000: str1000.upcase