<commit_before>#!/usr/bin/env ruby
# encoding: utf-8

Bundler.setup
Bundler.require

profile = ENV['PROFILE'] || false

require 'perftools' if profile
require 'benchmark'
require 'faker'
require 'rom'
require 'axiom-memory-adapter'

PerfTools::CpuProfiler.start("./tmp/rom_profile") if profile

class User
  attr_reader :id, :name, :email, :age

  def initialize(attributes)
    @id, @name, @email, @age = attributes.values_at(:id, :name, :email, :age)
  end
end<commit_msg>Add x bit to benchmark script<commit_after>#!/usr/bin/env ruby
# encoding: utf-8

require 'bundler'

Bundler.require

profile = ENV['PROFILE'] || false

require 'perftools' if profile
require 'benchmark'
require 'faker'
require 'rom'
require 'axiom-memory-adapter'

PerfTools::CpuProfiler.start("./tmp/rom_profile") if profile

class User
  attr_reader :id, :name, :email, :age

  def initialize(attributes)
    @id, @name, @email, @age = attributes.values_at(:id, :name, :email, :age)
  end
end
{'fraction_non_alphanumeric': 0.1434468524251806, 'fraction_numerical': 0.0020639834881320948, 'mean_word_length': 5.178343949044586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5352540', 'n_tokens_mistral': 352, 'n_tokens_neox': 348, 'n_words': 91}