alco / alco/benchfella

Allow to specify duration per test

Aperta
#54 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Elixir
Stelle
516
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a test that is working on large data set to ensure the programm is efficient on both big and small data. This test should be run for more than one second, while I'd not like to enlarge duration for all another tests.
Maybe something like module attribute would work for this.

```elixir
@duration 5
bench "some long test:", do ...
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.