Skip to content

Instantly share code, notes, and snippets.

@hawksprite
Created July 19, 2019 05:00
Show Gist options
  • Save hawksprite/61eed65420e72e3ac7aecd57486ee523 to your computer and use it in GitHub Desktop.
Save hawksprite/61eed65420e72e3ac7aecd57486ee523 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "vLeader Geographic Benchmark :: "
echo ""
echo "Begin Packaged Download Test :: "
echo ""
echo "Packaged Benchark (EC2) 1/3..."
wget https://data.simulearn.net/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (EC2) 2/3..."
wget https://data.simulearn.net/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (EC2) 3/3..."
wget https://data.simulearn.net/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (S3B) 1/3..."
wget https://vleader-software.s3.amazonaws.com/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (S3B) 2/3..."
wget https://vleader-software.s3.amazonaws.com/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (S3B) 3/3..."
wget https://vleader-software.s3.amazonaws.com/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (CFD) 1/5..."
wget https://d3q5vf2i5bib9p.cloudfront.net/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (CFD) 2/5..."
wget https://d3q5vf2i5bib9p.cloudfront.net/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (CFD) 3/5..."
wget https://d3q5vf2i5bib9p.cloudfront.net/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (CFD) 4/5..."
wget https://d3q5vf2i5bib9p.cloudfront.net/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
echo "Packaged Benchark (CFD) 5/5..."
wget https://d3q5vf2i5bib9p.cloudfront.net/benchmark/vl_blob.zip
rm vl_blob.zip
echo ""
kry_baseline="https://y2eq2c3dsg.execute-api.us-east-1.amazonaws.com/dev/"
kry_baselinebench="https://y2eq2c3dsg.execute-api.us-east-1.amazonaws.com/dev/benchmark"
kry_randominit="https://y2eq2c3dsg.execute-api.us-east-1.amazonaws.com/dev/create/game/4?scenario=scenario_1"
kry_normal="https://y2eq2c3dsg.execute-api.us-east-1.amazonaws.com/dev/OS9D7CN7MFZJ/do/round"
echo ""
echo "Begin Kry Throughput Test :: "
echo ""
echo "Flatline Base :: "
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baseline"
echo "Begin 5 *Baseline* tests :: "
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baselinebench"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baselinebench"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baselinebench"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baselinebench"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_baselinebench"
echo "Begin 1 Random Init :: "
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_randominit"
echo "Begin 5 Kry Normal :: "
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_normal"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_normal"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_normal"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_normal"
curl -s -o /dev/null -w '%{time_namelookup}-%{time_connect}-%{time_pretransfer}-%{time_starttransfer}-%{time_total}\n' "$kry_normal"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment