This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DONE | |
- warnings are disabled | |
- Useless error message | |
- bad naming | |
- block formatting | |
- UTF8 variable names | |
- multiple commands per line | |
- different styles for string creation | |
- aliasing classes | |
- extend ruby core classes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
TEST_COUNT = 20 | |
overall_seconds = 0 | |
tm_outer = Benchmark.measure do | |
TEST_COUNT.times do |n| | |
puts "Test run #{n+1}" | |
tm_inner = Benchmark.measure do | |
`rake spec all` |