#!/bin/bash

# Test file write performance directly

echo "Testing random generation to file (10M events)..."
time cargo run --release --bin wasot -- random -n 10000000 -o /tmp/test_10m.wasot

FILE_SIZE=$(du -h /tmp/test_10m.wasot | cut -f1)
echo "Generated file size: $FILE_SIZE"
rm -f /tmp/test_10m.wasot