lib/processor/wrapper.rb
def process(content)
    total_result  = get_total_result content
    @total_result = self.class.sum_results @total_result, total_result

    single_result = get_single_result content
    @single_results << single_result

    nil
  end
# Test will be executed in single thread.
# We need to enable gvl, it will provide more accurate result.
# Ruby won't waste time on acquiring/releasing VM lock.
Test will be executed in single thread.
We need to enable gvl, it will provide more accurate result.
Ruby won't waste time on acquiring/releasing VM lock.
Test will be executed in single thread . We need to enable gvl it will provide more accurate result . Ruby won ' t waste time on acquiring / releasing VM lock .
def process(content)
    total_result  = get_total_result content
    @total_result = self.class.sum_results @total_result, total_result
    single_result = get_single_result content
    @single_results << single_result
    nil
  end
def process ( content ) total_result = get_total_result content @total_result = self . class . sum_results @total_result , total_result single_result = get_single_result content @single_results << single_result nil end
Test will be executed in single thread.
Test will be executed in single thread .
content