Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 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