lib/activeresource/examples/performance.rb in active_cached_resource-0.0.1.pre vs lib/activeresource/examples/performance.rb in active_cached_resource-0.1.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
require "rubygems"
-require "active_resource"
+require_relative "../lib/active_resource"
require "benchmark"
TIMES = (ENV["N"] || 10_000).to_i
# deep nested resource