Skip to content

Commit 4a752cf

Browse files
committed
Reducing concurrency (to cope with travis limitations with threads)
1 parent d49b890 commit 4a752cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ script:
9696
if [ "$PERFORMANCE" = "select" ]; then
9797
cd examples
9898
./benchmark_select 8080 $(nproc) &
99-
sleep 5 && ab -n 10000000 -c 1000 localhost:8080/plaintext
99+
sleep 5 && ab -n 10000000 -c 100 localhost:8080/plaintext
100100
fi
101101
- |
102102
if [ "$PERFORMANCE" = "threads" ]; then
103103
cd examples
104104
./benchmark_threads 8080 &
105-
sleep 5 && ab -n 10000000 -c 1000 localhost:8080/plaintext
105+
sleep 5 && ab -n 10000000 -c 100 localhost:8080/plaintext
106106
fi
107107
after_success:
108108
- if [ "$DEBUG" = "debug" ] && [ "$COVERAGE" = "coverage" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then bash <(curl -s https://codecov.io/bash); fi

0 commit comments

Comments
 (0)