Skip to content

Commit

Permalink
Add testing sources
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerburdsall committed May 9, 2018
1 parent 43ffa8f commit 9d08e67
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions performance_tests/test_memory_mode
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

for amount in 100000 500000 1000000 1500000 2000000 2500000 3000000
do
for i in {1..5}
do
echo "$amount - $i";
time ./combigen.exe -i example_data/combinations.json -r "$amount" -k > output.txt
echo
done
done
rm output.txt

13 changes: 13 additions & 0 deletions performance_tests/test_performance_mode
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

for amount in 100000 500000 1000000 1500000 2000000 2500000 3000000
do
for i in {1..5}
do
echo "$amount - $i";
time ./combigen.exe -i example_data/combinations.json -r "$amount" -k -p > output.txt
echo
done
done
rm output.txt

0 comments on commit 9d08e67

Please sign in to comment.