Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
295B

  1. #!/bin/bash
  2. BITS="16"
  3. cc -I../src -O3 -Wall -m64 bloom_perf.c -o bloom_perf.none
  4. for bits in $BITS
  5. do
  6. cc -I../src -DHASH_BLOOM=$bits -O3 -Wall -m64 bloom_perf.c -o bloom_perf.$bits
  7. done
  8. for bits in none $BITS
  9. do
  10. echo
  11. echo "using $bits-bit filter:"
  12. ./bloom_perf.$bits 10
  13. done