Skip to content

Instantly share code, notes, and snippets.

View sasiruLK's full-sized avatar

Sasiru Ravihansa sasiruLK

View GitHub Profile
@sasiruLK
sasiruLK / benchmark.sh
Created October 5, 2025 15:32
simple bash script you can use to benchmark both Astro and Zola
#!/usr/bin/env bash
ASTRO_DIR="./old-blog"
ZOLA_DIR="./blog"
# File to store results
RESULTS="benchmark_results.md"
echo "| Framework | Build Time | Output Size | Dev Server Memory |" > $RESULTS
echo "|-----------|------------|-------------|-------------------|" >> $RESULTS