Skip to content

Instantly share code, notes, and snippets.

View jeffchanjunwei's full-sized avatar

Jeff Chan jeffchanjunwei

View GitHub Profile
@peterjmit
peterjmit / benchmark.sh
Created October 10, 2012 10:49
Bash Benchmark Script (using time)
#!/bin/bash
# REQUIRES SUDO
# Benchmark runner
repeats=20
output_file='benchmark_results.csv'
command_to_run='echo 1'
run_tests() {
# --------------------------------------------------------------------------