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:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.0 - February 24, 2017 (74 ko)

Dépendances de Runtime (1):

rspec ~> 3.5

Dépendances de Development (2):

bundler >= 1.12
rake >= 10.0

Propriétaires:

Auteurs:

  • Philippe Bourgau

Total de contrôle SHA 256:

bce522f2ca5f548d507ec3584640908a7c6c9b8b418fbb1bfe8d7b2eee42e0cb

Total de téléchargements 13 004

Pour cette version 13 004

License:

MIT

Version de Ruby requise: >= 0

Liens: