RubyGems Navigation menu

complexity_assert 0.1.0

They are some performance critical pieces of code that will be executed on huge data sets, which we want to make sure will run fast enough. Unfortunately, enforcing this is not easy, often requiring large scale and slow benchmarks. This rspec library (the result of an experiment to learn machine learning) uses linear regression to determine the time complexity (Big O notation, O(x)) of a piece of code and to check that it is at least as good as what we expect. This does not require huge data sets (only a few large ones) and can be written as any unit test (not as fast though).

Gemfile:
=

安装:
=

版本列表:

  1. 0.1.0 February 24, 2017 (74.0 KB)

Runtime 依赖 (1):

rspec ~> 3.5

Development 依赖 (2):

bundler >= 1.12
rake >= 10.0

业主:

作者:

  • Philippe Bourgau

SHA 256 校验和:

=

下载总量 13,318

这个版本 13,318

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 0

链接: