Sha256: 64b490aa40880882fb2e82f520763c606735f737d42898220ae40822bfa66d79
Contents?: true
Size: 215 Bytes
Versions: 1
Compression:
Stored size: 215 Bytes
Contents
# frozen_string_literal: true require 'benchmark/ips' require 'fast_year' Benchmark.ips do |r| r.report 'time_year' do Time.now.year end r.report 'fast_year' do FastYear.year end r.compare! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast_year-0.1.0 | benchmark.rb |