Sha256: 2f4b279a04b4c5713006bedcc324aab0af095f1dbfc49d3ade327d71da657d45
Contents?: true
Size: 383 Bytes
Versions: 30
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true require "grumlin" require "benchmark/ips" namespace :benchmark do desc "Run serialization benchmarks" task :serialization do repo = Grumlin::Benchmark::Repository.new Benchmark.ips do |x| x.time = 3 x.report("Simple") { repo.simple_test } x.report("Simple shortcut") { repo.simple_test_with_shortcut } end end end
Version data entries
30 entries across 30 versions & 1 rubygems