diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-03 14:38:29 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-03 14:38:36 +0200 |
commit | 9a291b43f7eee05634309d1ce4962a4eae2c669c (patch) | |
tree | fa757b451fee29ca02edf2c935c4e1c4e08841aa /test | |
parent | ffc8c367039a34b0456c360d8c5438fbebc39255 (diff) |
benchmark: Don't use envstore to save the test values
Saving them that way takes way too long, write them directly into the store file instead.
Diffstat (limited to 'test')
-rwxr-xr-x | test/main | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -160,10 +160,11 @@ if ((benchmark)) { echo "## some benchmarks now..." TIMEFMT='%*E real, %*U user, %*S system - %P%% CPU - %J' - echo "# adding 5000 vars (this could take a _long_ time)" - for i in {0..5000}; { - (( i % 500 )) || echo "# $((5000-i)) to go" - $envstore save $i $i$i$i + 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 |