Page MenuHomePhorge

D25902-ab-check.png

Authored By
valerio.bozzolan
Fri, May 2, 12:09
Size
30 KB
Dimensions
855px × 481px
Referenced Files
None
Subscribers
None

D25902-ab-check.png

D25902-ab-check.png (481×855 px, 30 KB)

File Metadata

Mime Type
image/png
Attributes
Image
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1457569
Default Alt Text
D25902-ab-check.png (481×855 px, 30 KB)

Event Timeline

valerio.bozzolan changed the visibility from "valerio.bozzolan (Valerio Bozz.)" to "Public (No Login Required)".Fri, May 2, 12:09

Obtained with:

ab.sh
#!/bin/bash -e

# This page requires authentication. Remember to set cookies.
URL="https://gitpull.it/maniphest/report/burn/?project=PHID-PROJ-jlc7j4mt7sx46m3xq5u4"

function ab_branch_run() {
        local branch="$1"
        shift

        git checkout "$branch"
        systemctl restart apache2

        # IMPORTANT: Replace everything after "-H" with what you obtain with Firefox, F12, Network console, "Copy cURL".
        ab "$@" -c 6 -n 1000 -H 'User-Agent: abtest' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Encoding: gzip, deflate, br, zstd'-H 'Connection: keep-alive' -H 'Cookie: phusr=valerio.bozzolan; phsid=omissis' -- "$URL"
}

cd /var/www/place/to/my/phorge/
ab_branch_run master -e /tmp/ab-before1.csv
ab_branch_run D25902 -e /tmp/ab-after1.csv