Skip to content

Commit b396016

Browse files
committed
Provide goto-cc in performance tests
1 parent 1c424cf commit b396016

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

scripts/perf-test/codebuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Resources:
8080
artifacts:
8181
files:
8282
- src/cbmc/cbmc
83+
- src/goto-cc/goto-cc
8384
- COMMIT_INFO
8485
discard-paths: yes
8586
Type: !Ref RepoType
@@ -123,6 +124,7 @@ Resources:
123124
artifacts:
124125
files:
125126
- src/cbmc/cbmc
127+
- src/goto-cc/goto-cc
126128
- COMMIT_INFO
127129
discard-paths: yes
128130
Type: !Ref RepoType

scripts/perf-test/ec2.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Resources:
212212
cd /mnt
213213
cd cprover-sv-comp
214214
git pull
215-
mkdir -p src/cbmc/
215+
mkdir -p src/cbmc src/goto-cc
216216
touch LICENSE
217217
cd ..
218218
mkdir -p run
@@ -292,10 +292,12 @@ Resources:
292292
--receipt-handle $msg
293293

294294
cd /mnt/cprover-sv-comp
295-
rm -f src/cbmc/cbmc
295+
rm -f src/cbmc/cbmc src/goto-cc/goto-cc
296296
aws s3 cp s3://${S3Bucket}/${PerfTestId}/$cfg/cbmc \
297297
src/cbmc/cbmc
298-
chmod a+x src/cbmc/cbmc
298+
aws s3 cp s3://${S3Bucket}/${PerfTestId}/$cfg/goto-cc \
299+
src/goto-cc/goto-cc
300+
chmod a+x src/cbmc/cbmc src/goto-cc/goto-cc
299301
make CBMC=. cbmc.zip
300302
cd ../run
301303
unzip ../cprover-sv-comp/cbmc.zip
@@ -357,11 +359,15 @@ Resources:
357359
-N $max_par -c 1
358360
if ls *.gmon.out.* >/dev/null 2>&1
359361
then
360-
gprof --sum ./cbmc-binary *.gmon.out.*
362+
gprof --sum ./cbmc-binary cbmc*.gmon.out.*
361363
gprof ./cbmc-binary gmon.sum > sum.profile-$t
364+
gprof --sum ./goto-cc goto-cc*.gmon.out.*
365+
gprof ./goto-cc gmon.sum > sum.goto-cc-profile-$t
362366
rm -f gmon.sum gmon.out *.gmon.out.*
363367
aws s3 cp sum.profile-$t \
364368
s3://${S3Bucket}/${PerfTestId}/$cfg/sum.profile-$t
369+
aws s3 cp sum.goto-cc-profile-$t \
370+
s3://${S3Bucket}/${PerfTestId}/$cfg/sum.profile-$t
365371
fi
366372
fi
367373
rm -rf logs-$t sum.profile-$t

0 commit comments

Comments
 (0)