broken
This commit is contained in:
parent
5f3ed30ba4
commit
f337457b94
8691
3rd/ehbasic.asm
Normal file
8691
3rd/ehbasic.asm
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -29,7 +29,7 @@ function do_stat {
|
||||||
|
|
||||||
bz_stat=$(cat ref_$1 $src | head -c 20000000 | bzip3 -eb $size | wc -c)
|
bz_stat=$(cat ref_$1 $src | head -c 20000000 | bzip3 -eb $size | wc -c)
|
||||||
bz_ref=$(cat ref_$1 | bzip3 -eb $size | wc -c)
|
bz_ref=$(cat ref_$1 | bzip3 -eb $size | wc -c)
|
||||||
bz_sim=$(python3 -c "print(100*($ss/$abs)*(1-($bz_stat - min($bz_ref, $bz3)) / (max($bz_ref, $bz3))))")
|
bz_sim=$(python3 -c "print(1/((($bz_stat - min($bz_ref, $bz3)) / (max($bz_ref, $bz3)))-1))")
|
||||||
|
|
||||||
lz_stat=$(cat ref_$1 $src | head -c 20000000 | lz4 -1c | wc -c)
|
lz_stat=$(cat ref_$1 $src | head -c 20000000 | lz4 -1c | wc -c)
|
||||||
lz_ref=$(cat ref_$1 | lz4 -1c | wc -c)
|
lz_ref=$(cat ref_$1 | lz4 -1c | wc -c)
|
||||||
|
@ -46,4 +46,4 @@ echo "Z80: $(do_stat z80)"
|
||||||
echo "APL: $(do_stat apl)"
|
echo "APL: $(do_stat apl)"
|
||||||
echo "x86: $(do_stat x86)"
|
echo "x86: $(do_stat x86)"
|
||||||
echo "x64: $(do_stat x64)"
|
echo "x64: $(do_stat x64)"
|
||||||
echo "Shell: $(do_stat sh)"
|
echo "Shell: $(do_stat sh)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user