mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 23:28:44 +00:00
Handle grep failure in benchmark
This commit is contained in:
2
bench/dirty-vs-full.sh
Executable file → Normal file
2
bench/dirty-vs-full.sh
Executable file → Normal file
@@ -82,7 +82,7 @@ echo "Results written to bench/dirty-vs-full.md"
|
||||
# slower full-scan is relative to dirty-scan (baseline = 1.00).
|
||||
SPEEDUP=$(grep '\`full-scan\`' bench/dirty-vs-full.md \
|
||||
| awk -F'|' '{print $5}' \
|
||||
| xargs)
|
||||
| xargs || echo "N/A")
|
||||
|
||||
echo
|
||||
echo "→ Summary:"
|
||||
|
Reference in New Issue
Block a user