Categories: None [Edit]
complexity_assert
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).
Total
Ranking: 67,541 of 183,107
Downloads: 13,314
Daily
Ranking: 31,663 of 183,092
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
1,728 | 13,795,155 | zip_tricks |
10,179 | 234,363 | zip_kit |
36,162 | 30,847 | interval_response |
Owners
# | Gravatar | Handle |
---|---|---|
1 | philou |