summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/main19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/main b/test/main
index ac50366..7f0dad5 100755
--- a/test/main
+++ b/test/main
@@ -5,7 +5,6 @@ typeset -i benchmark=0 test_extended=0 test_security=0 help=0
while [[ $1 == --* ]] {
case $1 in
--all) test_extended=1; test_security=1 ;;
- --benchmark) benchmark=1 ;;
--extended) test_extended=1 ;;
--help) help=1 ;;
--security) test_security=1 ;;
@@ -152,21 +151,3 @@ if ((test_security)) {
}
print -P '\n%F{green}Test passed%F{default}'
-
-if ((benchmark)) {
- trap '' ZERR
- echo "## some benchmarks now..."
- TIMEFMT='%*E real, %*U user, %*S system - %P%% CPU - %J'
-
- echo "# adding 10000 vars (this could take a _long_ time)"
- $envstore clear
- for i in {0..10000}; {
- (( i % 1000 )) || echo "# $((10000-i)) to go"
- echo "$i $i$i$i" >> $store_file
- }
- echo
-
- repeat 2 {time $envstore eval > /dev/null}
- time $envstore rm 999 > /dev/null
- repeat 2 {time $envstore clear}
-}