1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/benchmark/benchmarking.cfg
2015-01-23 17:24:36 +01:00

33 lines
551 B
INI

userver {
PORT 8080
LISTEN_BACKLOG 1024
MAX_KEEP_ALIVE 1024
SET_REALTIME_PRIORITY yes
PID_FILE benchmark/userver_tcp.pid
DOCUMENT_ROOT benchmark/docroot
# LOG_FILE ../benchmarking.log
LOG_FILE_SZ 50M
LOG_MSG_SIZE -1
PLUGIN_DIR ../../../../src/ulib/net/server/plugin/.libs
ORM_DRIVER_DIR ../../../../src/ulib/orm/driver/.libs
## DOS attack
# REQ_TIMEOUT 5
# MAX_KEEP_ALIVE 50
# PREFORK_CHILD 0
}
http {
## CACHE_FILE_MASK _off_
CACHE_FILE_MASK *.html|*.swf
## MIN_SIZE_FOR_SENDFILE 78k
}