├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── BUG_REPORT.md │ ├── FEATURE_REQUEST.md │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── ci.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── appveyor.yml ├── benchmark-trend.gemspec ├── bin ├── console └── setup ├── examples ├── fib_constant.rb ├── fib_linear.rb └── prime.rb ├── exe └── bench-trend ├── lib ├── benchmark-trend.rb └── benchmark │ ├── trend.rb │ └── trend │ ├── clock.rb │ └── version.rb ├── spec ├── spec_helper.rb └── unit │ ├── fit_at_spec.rb │ ├── fit_exp_spec.rb │ ├── fit_linear_spec.rb │ ├── fit_log_spec.rb │ ├── fit_power_spec.rb │ ├── format_fit_spec.rb │ ├── infer_trend_spec.rb │ ├── measure_execution_time_spec.rb │ └── range_spec.rb └── tasks ├── console.rake ├── coverage.rake └── spec.rake /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: piotrmurach 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG_REPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.github/ISSUE_TEMPLATE/BUG_REPORT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/Rakefile -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/appveyor.yml -------------------------------------------------------------------------------- /benchmark-trend.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/benchmark-trend.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/bin/setup -------------------------------------------------------------------------------- /examples/fib_constant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/examples/fib_constant.rb -------------------------------------------------------------------------------- /examples/fib_linear.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/examples/fib_linear.rb -------------------------------------------------------------------------------- /examples/prime.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/examples/prime.rb -------------------------------------------------------------------------------- /exe/bench-trend: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require "benchmark/trend" 4 | -------------------------------------------------------------------------------- /lib/benchmark-trend.rb: -------------------------------------------------------------------------------- 1 | require_relative "benchmark/trend" 2 | -------------------------------------------------------------------------------- /lib/benchmark/trend.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/lib/benchmark/trend.rb -------------------------------------------------------------------------------- /lib/benchmark/trend/clock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/lib/benchmark/trend/clock.rb -------------------------------------------------------------------------------- /lib/benchmark/trend/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/lib/benchmark/trend/version.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/fit_at_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/fit_at_spec.rb -------------------------------------------------------------------------------- /spec/unit/fit_exp_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/fit_exp_spec.rb -------------------------------------------------------------------------------- /spec/unit/fit_linear_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/fit_linear_spec.rb -------------------------------------------------------------------------------- /spec/unit/fit_log_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/fit_log_spec.rb -------------------------------------------------------------------------------- /spec/unit/fit_power_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/fit_power_spec.rb -------------------------------------------------------------------------------- /spec/unit/format_fit_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/format_fit_spec.rb -------------------------------------------------------------------------------- /spec/unit/infer_trend_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/infer_trend_spec.rb -------------------------------------------------------------------------------- /spec/unit/measure_execution_time_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/measure_execution_time_spec.rb -------------------------------------------------------------------------------- /spec/unit/range_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/spec/unit/range_spec.rb -------------------------------------------------------------------------------- /tasks/console.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/tasks/console.rake -------------------------------------------------------------------------------- /tasks/coverage.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/tasks/coverage.rake -------------------------------------------------------------------------------- /tasks/spec.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/benchmark-trend/HEAD/tasks/spec.rake --------------------------------------------------------------------------------