wip
This commit is contained in:
29
bench/lolBench.sh
Normal file
29
bench/lolBench.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
# lolMiner benchmark script - save as bench_lolminer.sh
|
||||
|
||||
ALGOS=("ETHASH" "ETCHASH" "AUTOLYKOS2" "BEAM-III" "EQUIHASH144_5" "EQUIHASH192_7" "EQUIHASH210_9" "FLUX" "NEXA" "PROGPOW" "PROGPOWZ" "PROGPOW_VERIBLOCK" "PROGPOW_VEIL" "TON")
|
||||
|
||||
echo "=== lolMiner Algorithm Benchmark ==="
|
||||
echo "Testing each algorithm for 15 seconds..."
|
||||
echo "====================================="
|
||||
|
||||
for algo in "${ALGOS[@]}"; do
|
||||
echo ""
|
||||
echo "Testing: $algo"
|
||||
echo "------------------------"
|
||||
|
||||
sudo docker exec -it amdopencl timeout 20s bash -c "mnt/dl/lol.1.97/lolMiner --algo $algo --benchmark --benchepochs 1 --benchwarmup 5" 2>/dev/null
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ $algo: WORKS"
|
||||
elif [ $? -eq 124 ]; then
|
||||
echo "⏱️ $algo: TIMEOUT (likely working)"
|
||||
else
|
||||
echo "❌ $algo: FAILED"
|
||||
fi
|
||||
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo "=== Benchmark Complete ==="
|
||||
Reference in New Issue
Block a user