summaryrefslogtreecommitdiff
path: root/benchmark/time_parse.yml
blob: a6d6948b9c3bfe57d053e17d540a2e02dfd450d9 (plain)
1
2
3
4
5
6
7
8
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)