mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
11 lines
236 B
YAML
11 lines
236 B
YAML
|
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
|