<commit_before>require "memory_profiler/version"
require "memory_profiler/helpers"
require "memory_profiler/polychrome"
require "memory_profiler/monochrome"
require "memory_profiler/top_n"
require "memory_profiler/stat"
require "memory_profiler/stat_hash"
require "memory_profiler/results"
require "memory_profiler/reporter"

module MemoryProfiler
  def self.report(opts={},&block)
    opts[:top] ||= 50
    Reporter.report(opts,&block)
  end

  def self.start(opts={})
    unless Reporter.current_reporter
      Reporter.current_reporter = Reporter.new(opts)<commit_msg>Remove excessive setting of default of :top option<commit_after>require "memory_profiler/version"
require "memory_profiler/helpers"
require "memory_profiler/polychrome"
require "memory_profiler/monochrome"
require "memory_profiler/top_n"
require "memory_profiler/stat"
require "memory_profiler/stat_hash"
require "memory_profiler/results"
require "memory_profiler/reporter"

module MemoryProfiler
  def self.report(opts={},&block)
    Reporter.report(opts,&block)
  end

  def self.start(opts={})
    unless Reporter.current_reporter
      Reporter.current_reporter = Reporter.new(opts)
{'fraction_non_alphanumeric': 0.10112359550561797, 'fraction_numerical': 0.001728608470181504, 'mean_word_length': 6.771812080536913, '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': '5487192', 'n_tokens_mistral': 374, 'n_tokens_neox': 386, 'n_words': 68}