aboutsummaryrefslogtreecommitdiffstats
path: root/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-bw.yaml
blob: 93ce51d6d079cddb3b53a4d607f951117a645897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { co
# This is an example wrk traffic profile.

# List of urls for requests. Each url is requested in a separate instance of
# wrk.
# Type: list
urls:
  # There must be a big file (10MB) requested but vpp does not support it.
  - "http://192.168.10.2"

# Index of the first CPU on the numa used to run wrk.
# Type: integer
first-cpu: 1

# The number of cpus used for wrk. The number of cpus must be a
# multiplication of the number of urls.
# Type: integer
cpus: 1

# Duration of the test in seconds.
# Type: integer
duration: 30

# Total number of threads to use.
# Type: integer
nr-of-threads: 1

# Total number of HTTP connections to keep open with each thread handling
# N = connections/threads.
# Type: integer
nr-of-connections: 50

# Path to LuaJIT script.
# Type: string
# script: ""

# HTTP header to add to request, e.g. "Connection: close".
# Type: string (taken as it is) or dictionary
# header:
#   Connection: "close"

# Print detailed latency statistics.
# Type: boolean
latency: False

# Record a timeout if a response is not received within this amount of time.
# Type: integer
timeout: 5
tr-generate -fcoverage-mapping) target_compile_options(${TARGET_NAME} PRIVATE -fsanitize=address) target_link_options(${TARGET_NAME} PRIVATE -fsanitize=address) # llvm-cov add_custom_target(${TARGET_NAME}-ccov-preprocessing COMMAND LLVM_PROFILE_FILE=${TARGET_NAME}.profraw $<TARGET_FILE:${TARGET_NAME}> COMMAND llvm-profdata merge -sparse ${TARGET_NAME}.profraw -o ${TARGET_NAME}.profdata DEPENDS ${TARGET_NAME}) add_custom_target(${TARGET_NAME}-ccov-show COMMAND llvm-cov show $<TARGET_FILE:${TARGET_NAME}> -instr-profile=${TARGET_NAME}.profdata -show-line-counts-or-regions ${COV_SOURCES} DEPENDS ${TARGET_NAME}-ccov-preprocessing) add_custom_target(${TARGET_NAME}-ccov-report COMMAND llvm-cov report -show-functions $<TARGET_FILE:${TARGET_NAME}> -instr-profile=${TARGET_NAME}.profdata ${COV_SOURCES} DEPENDS ${TARGET_NAME}-ccov-preprocessing) add_custom_target(${TARGET_NAME}-ccov COMMAND llvm-cov show $<TARGET_FILE:${TARGET_NAME}> -instr-profile=${TARGET_NAME}.profdata -show-line-counts-or-regions -output-dir=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TARGET_NAME}-llvm-cov -format="html" ${COV_SOURCES} DEPENDS ${TARGET_NAME}-ccov-preprocessing) add_custom_command(TARGET ${TARGET_NAME}-ccov POST_BUILD COMMAND ; COMMENT "Open ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TARGET_NAME}-llvm-cov/index.html in your browser to view the coverage report." ) endif()