Commit graph

4 commits

Author SHA1 Message Date
Vitalii Elenhaupt
3c5e3cdef4
Exclude globs as arguments
Examples:

  $ ameba path/to/shard/*.cr !path/to/shard/lib
  $ ameba . !lib
2019-01-13 10:48:46 +02:00
Vitalii Elenhaupt
a947dee851
Silent formatter in benchmarks 2017-11-18 00:13:14 +02:00
Vitalii Elenhaupt
822a69b81c
Base YAML config loader & Ameba runner 2017-11-14 09:00:15 +02:00
Vitalii Elenhaupt
f27e32cbea
Benchmarks
closes #13

```
$ crystal bench/check_sources.cr --release
== Compare:
   1 source    1.1k ( 907.18µs) (± 2.24%)       fastest
  3 sources 649.18  (  1.54ms ) (± 2.26%)  1.70× slower
  5 sources 196.85  (  5.08ms ) (± 2.20%)  5.60× slower
 10 sources  96.37  ( 10.38ms ) (± 2.06%) 11.44× slower
 20 sources  58.88  ( 16.98ms ) (± 3.53%) 18.72× slower
 30 sources  46.43  ( 21.54ms ) (± 3.38%) 23.74× slower
 40 sources  46.19  ( 21.65ms ) (± 2.45%) 23.86× slower
== Measure:
  0.060000   0.040000   0.100000 (  0.080935 )
```
2017-11-06 14:27:49 +02:00