[Sockets]: Always reset internal SAEA completion when reattempting connection in...
[mono-project.git] / acceptance-tests / microbench-perf.sh.in
blob1e69aabc46c77284994ff1d64aef767d97954649
1 #! /bin/sh
2 r='@mono_build_root@'
3 aotpattern="--aot="
5 # if this is an aot invoke
6 if [[ $@ =~ $aotpattern ]];
7 then
8 # just aot the code
9 echo "$r/runtime/mono-wrapper $@"
10 exec $r/runtime/mono-wrapper $@
11 else
12 # else run it under perf
13 echo "$MONO_PERF_BINARY record -o $r/acceptance-tests/perf.data -v -s -g -- $r/mono/mini/mono-sgen $@"
14 exec $MONO_PERF_BINARY record -o $r/acceptance-tests/perf.data -v -s -g $r/mono/mini/mono-sgen $@