ADTast-experimental
Last change
on this file since bf0c723 was
0b66ef9,
checked in by Michael Brooks <mlbrooks@…>, 15 months ago
|
Add linked list performance experiment
|
-
Property mode set to
100755
|
File size:
610 bytes
|
Line | |
---|
1 | echo Should you make clean? |
---|
2 | |
---|
3 | # Accept by eyeball when all you see is |
---|
4 | # - (irrelevant) performance numbers being reported and |
---|
5 | # - any u++ "allocated but not freed" warnings that you can live with. |
---|
6 | # Reject when you see lines of trace messages, like what's in the "expect" files. |
---|
7 | |
---|
8 | function test1 { |
---|
9 | echo + diff "<($1)" $2 |
---|
10 | diff <($1) $2 |
---|
11 | } |
---|
12 | export -f test1 |
---|
13 | |
---|
14 | make perfprogs -j 8 CFA=$cfa MODE=correctness |
---|
15 | |
---|
16 | for casegroup in stack-insfirst stack-inslast queue-insfirst queue-inslast |
---|
17 | do |
---|
18 | export casegroup |
---|
19 | ls perfexp--*$casegroup* | xargs -n 1 -I {} bash -c 'test1 "./$@" expect.$casegroup.txt' _ {} |
---|
20 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.