Skip to content

Commit 39bef27

Browse files
committed
Time to 1st request and rss
1 parent b86b107 commit 39bef27

2 files changed

Lines changed: 11 additions & 22 deletions

File tree

benchmarks/helpers/os.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ scripts:
1010
then:
1111
- set-state: RUN.os linux
1212

13+
capture-os-info:
14+
- sh: uname -m
15+
- set-state: RUN.env.host.ARCH
16+
- sh: uname -r
17+
- set-state: RUN.env.host.RELEASE_LEVEL
18+
- sh: uname -s
19+
- set-state: RUN.env.host.OS
20+
- sh: uname -v
21+
- set-state: RUN.env.host.VERSION_LEVEL
22+
1323
check-and-install-package:
1424
- sh: which ${{command}}
1525
- regex: ".*no ${{command}} in.*"

benchmarks/main.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -107,27 +107,6 @@ scripts:
107107
- sh: cd ${{SCRIPTS_DIR}}
108108
- sh: npm install axios@0.27.2
109109

110-
# install-wrk: #TODO: Move to core-scripts
111-
# - sh: "[[ -f ${{WRK_PATH:/tmp/wrk}}/${{WRK_EXE:wrk}} ]] || echo GETWORK;"
112-
# - regex: GET
113-
# then:
114-
# - sh: mkdir -p ${{WRK_PATH:/tmp/wrk}}
115-
# - sh: cd ${{WRK_PATH:/tmp/wrk}}
116-
# - sh: "curl https://api.github.com/repos/wg/wrk/tags | jq --raw-output '.[0].tarball_url' | xargs -I {} curl -L -o wrk.tar.gz {}"
117-
# - sh: tar -xzvf wrk.tar.gz
118-
# watch:
119-
# - regex: "^(?<folderName>[^/]+)/$"
120-
# - sh: cd ${{folderName}}
121-
# - regex: No such file or directory
122-
# then:
123-
# - abort: failed to extract wrk.tar.gz and find folderName=${{folderName}} which is needed for this run
124-
# - sh: make #TODO detect failures
125-
# - regex: No targets specified and no file found
126-
# then:
127-
# - abort: failed to make in ${{folderName}}
128-
# - sh: mv wrk ${{WRK_PATH:/tmp/wrk}}/${{WRK_EXE:wrk}}
129-
# - set-state: RUN.WRK_BIN ${{WRK_PATH:/tmp/wrk}}/${{WRK_EXE:wrk}}
130-
131110
update-spring-boot-version:
132111
- script: check-dependency-exists
133112
with:
@@ -406,7 +385,6 @@ roles:
406385
- target-host
407386
# - target-host-root
408387
setup-scripts:
409-
- detect-os
410388
- create-cgroup:
411389
with:
412390
CGROUP_NAME: ${{config.cgroup.name}}
@@ -427,6 +405,7 @@ roles:
427405
- target-host
428406
setup-scripts:
429407
- detect-os
408+
- capture-os-info
430409
- start-timestamp
431410
- config-env
432411
- ensure-requirements

0 commit comments

Comments
 (0)