1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/time_parse.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
193 B
YAML
Raw Normal View History

prelude: |
require 'time'
inspect = "2021-08-23 09:57:02 +0900"
iso8601 = "2021-08-23T09:57:02+09:00"
benchmark:
- Time.iso8601(iso8601)
- Time.parse(iso8601)
- Time.parse(inspect)