evanphx / benchmark-ips

Provides iteration per second benchmarking for Ruby
MIT License
1.72k stars 97 forks source link

Refactoring #11

Closed davy closed 10 years ago

davy commented 10 years ago

Refactoring

module Benchmark::IPS
class Benchmark::IPS::Job
class Benchmark::IPS::Job::Entry
class Benchmark::IPS::Report
class Benchmark::IPS::Report::Entry
module Benchmark::Compare

Updated Class Hierarchy

evanphx commented 10 years ago

I think we'd be fine to add an IPSJob class and return it. We can bump this to 2.0 to indicate we made an API change. I doubt many people are using that return value anyway, most people just let the ips block print stuff out.

evanphx commented 10 years ago

@davy How about you make the bigger changes you wanted (better namespacing, better return values) then I'll merge this and we can release it as 2.0!

davy commented 10 years ago

@evanphx great, will do!