<commit_before>require 'rubygems'
require File.dirname(__FILE__) + '/../lib/typhoeus.rb'
require 'open-uri'
require 'benchmark'
include Benchmark


calls = 20
@klass = Class.new do
  include Typhoeus
end

Typhoeus.init_easy_objects

benchmark do |t|    
  t.report("net::http") do
    responses = []
    <commit_msg>updated the benchmark with the api change<commit_after>require 'rubygems'
require File.dirname(__FILE__) + '/../lib/typhoeus.rb'
require 'open-uri'
require 'benchmark'
include Benchmark


calls = 20
@klass = Class.new do
  include Typhoeus
end

Typhoeus.init_easy_object_pool

benchmark do |t|    
  t.report("net::http") do
    responses = []
    
{'fraction_non_alphanumeric': 0.11746987951807229, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 4.076335877862595, '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': '5075575', 'n_tokens_mistral': 244, 'n_tokens_neox': 238, 'n_words': 58}