Add "C# .NET Core Linux"
parent
0c830d0e09
commit
ab2046b1fc
7
run.sh
7
run.sh
|
@ -153,3 +153,10 @@ C='ruby' ; SRC='primes.rb' ; run_benchmark 'Ruby' 'true' "$C $SRC" "$C -v" 'cat'
|
|||
# -C opt-level=3 is the default opt level for the code produced by the --release target.
|
||||
C='rust'; SRC='primes.rs' ; run_benchmark 'Rust' 'rustc -C opt-level=3 -o primes.rs.out primes.rs' './primes.rs.out' 'rustc -V' 'head -n1' "$SRC"
|
||||
rm -f primes.rs.out
|
||||
|
||||
##
|
||||
cd dotnet || exit 1
|
||||
C='dotnet' ; SRC='primes.dotnet' ; run_benchmark 'C# .NET Core Linux' \
|
||||
'util/build' 'util/run' "$C --version" 'cat' "$SRC"
|
||||
rm -rf bin obj
|
||||
cd .. || exit 1
|
||||
|
|
Loading…
Reference in New Issue