Sha256: a82cc8983a45fb38a75f76e02cc989baed99de596de5eeabdd1dd5b59362cb65
Contents?: true
Size: 599 Bytes
Versions: 24
Compression:
Stored size: 599 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 $: << '.' $: << File.join(File.dirname(__FILE__), "../lib") $: << File.join(File.dirname(__FILE__), "../ext") require 'oj' Oj.default_options = { mode: :rails, cache_keys: false, cache_str: -1 } def mem `ps -o rss= -p #{$$}`.to_i end ('a'..'z').each { |a| ('a'..'z').each { |b| ('a'..'z').each { |c| ('a'..'z').each { |d| ('a'..'z').each { |e| ('a'..'z').each { |f| key = "#{a}#{b}#{c}#{d}#{e}#{f}" x = Oj.load(%|{ "#{key}": 101}|) #Oj.dump(x) } } } } puts "#{a}#{b} #{mem}" } } Oj::Parser.new(:usual)
Version data entries
24 entries across 24 versions & 1 rubygems