Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Rate-counter/Sidef/rate-counter.sidef
Normal file
11
Task/Rate-counter/Sidef/rate-counter.sidef
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var benchmark = frequire('Benchmark');
|
||||
|
||||
func job1 {
|
||||
#...job1 code...
|
||||
}
|
||||
func job2 {
|
||||
#...job2 code...
|
||||
}
|
||||
|
||||
const COUNT = -1; # run for one CPU second
|
||||
benchmark.timethese(COUNT, Hash.new('Job1' => job1, 'Job2' => job2));
|
||||
Loading…
Add table
Add a link
Reference in a new issue