Class: Pdfrb::Task::Benchmark::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/pdfrb/task/benchmark.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_per_opObject

Returns the value of attribute bytes_per_op

Returns:

  • (Object)

    the current value of bytes_per_op



16
17
18
# File 'lib/pdfrb/task/benchmark.rb', line 16

def bytes_per_op
  @bytes_per_op
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



16
17
18
# File 'lib/pdfrb/task/benchmark.rb', line 16

def name
  @name
end

#ops_per_secondObject

Returns the value of attribute ops_per_second

Returns:

  • (Object)

    the current value of ops_per_second



16
17
18
# File 'lib/pdfrb/task/benchmark.rb', line 16

def ops_per_second
  @ops_per_second
end

#repetitionsObject

Returns the value of attribute repetitions

Returns:

  • (Object)

    the current value of repetitions



16
17
18
# File 'lib/pdfrb/task/benchmark.rb', line 16

def repetitions
  @repetitions
end

#total_secondsObject

Returns the value of attribute total_seconds

Returns:

  • (Object)

    the current value of total_seconds



16
17
18
# File 'lib/pdfrb/task/benchmark.rb', line 16

def total_seconds
  @total_seconds
end