Artifactspublic-v0

curl

master
ply4 git calls395 ms289 KiB2 cachedprotocol v2
147 lines5.1 KiBRaw
1#***************************************************************************
2# _ _ ____ _
3# Project ___| | | | _ \| |
4# / __| | | | |_) | |
5# | (__| |_| | _ <| |___
6# \___|\___/|_| \_\_____|
7#
8# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
9#
10# This software is licensed as described in the file COPYING, which
11# you should have received as part of this distribution. The terms
12# are also available at https://curl.se/docs/copyright.html.
14# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15# copies of the Software, and permit persons to whom the Software is
16# furnished to do so, under the terms of the COPYING file.
18# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19# KIND, either express or implied.
21# SPDX-License-Identifier: curl
23###########################################################################
25# This module contains global variables used in multiple modules in the test
26# harness but not really "owned" by any one.
28package globalconfig;
30use strict;
31use warnings;
33BEGIN {
34 use base qw(Exporter);
36 our @EXPORT = qw(
37 $anyway
38 $automakestyle
39 $CURL
40 $CURLINFO
41 $CURLVERSION
42 $CURLVERNUM
43 $DATE
44 $LIBDIR
45 $UNITDIR
46 $TUNITDIR
47 $SRVDIR
48 $listonly
49 $buildinfo
50 $LOCKDIR
51 $LOGDIR
52 $maxtime
53 $mintotal
54 $memanalyze
55 $MEMDUMP
56 $perlcmd
57 $perl
58 $PIDDIR
59 $proxy_address
60 $PROXYIN
61 $pwd
62 $randseed
63 $run_duphandle
64 $run_event_based
65 $SERVERCMD
66 $DNSCMD
67 $SERVERIN
68 $srcdir
69 $TESTDIR
70 $torture
71 $valgrind
72 $VCURL
73 $verbose
74 %feature
75 %keywords
76 @protocols
77 $dev_null
78 );
80use pathhelp qw(
81 exe_ext
82 dirsepadd
83 shell_quote
84 );
85use Cwd qw(getcwd);
86use File::Spec;
88#######################################################################
89# global configuration variables
92# config variables overridden by command-line options
93our $verbose; # 1 to show verbose test output
94our $torture; # 1 to enable torture testing
95our $proxy_address; # external HTTP proxy address
96our $listonly; # only list the tests
97our $buildinfo; # dump buildinfo.txt
98our $run_duphandle; # run curl with --test-duphandle to verify handle duplication
99our $run_event_based; # run curl with --test-event to test the event API
100our $automakestyle; # use automake-like test status output format
101our $anyway; # continue anyway, even if a test fail
102our $CURLVERSION = ""; # curl's reported version number
103our $CURLVERNUM = ""; # curl's reported version number (without -DEV)
104our $randseed = 0; # random number seed
105our $maxtime; # curl command timeout override
106our $mintotal; # minimum number of tests to run
108# paths
109our $pwd = getcwd(); # current working directory
110our $srcdir = $ENV{'srcdir'} || '.'; # root of the test source code
111our $perlcmd = shell_quote($^X);
112our $perl = "$perlcmd -I. " . shell_quote("-I$srcdir"); # invoke perl like this
113our $LOGDIR = "log"; # root of the log directory; this is different for
114 # each runner in multiprocess mode
115our $LIBDIR = dirsepadd("./libtest/" . ($ENV{'CURL_DIRSUFFIX'} || ''));
116our $UNITDIR = dirsepadd("./unit/" . ($ENV{'CURL_DIRSUFFIX'} || ''));
117our $TUNITDIR = dirsepadd("./tunit/" . ($ENV{'CURL_DIRSUFFIX'} || ''));
118our $SRVDIR = dirsepadd("./server/" . ($ENV{'CURL_DIRSUFFIX'} || ''));
119our $TESTDIR = "$srcdir/data";
120our $CURL = dirsepadd("../src/" . ($ENV{'CURL_DIRSUFFIX'} || '')) .
121 "curl" . exe_ext('TOOL'); # what curl binary to run on the tests
122our $CURLINFO = dirsepadd("../src/" . ($ENV{'CURL_DIRSUFFIX'} || '')) .
123 "curlinfo" . exe_ext('TOOL'); # what curlinfo binary to run on the tests
125our $VCURL = $CURL; # what curl binary to use to verify the servers with
126 # VCURL is handy to set to the system one when the one you
127 # built hangs or crashes and thus prevent verification
128# the path to the script that analyzes the memory debug output file
129our $memanalyze = "$perl " . shell_quote("$srcdir/memanalyze.pl");
130our $valgrind; # path to valgrind, or empty if disabled
131our $dev_null = File::Spec->devnull(); # null device path, eg: /dev/null
133# paths in $LOGDIR
134our $LOCKDIR = "lock"; # root of the server directory with lock files
135our $PIDDIR = "server"; # root of the server directory with PID files
136our $SERVERIN = "server.input"; # what curl sent the server
137our $PROXYIN = "proxy.input"; # what curl sent the proxy
138our $MEMDUMP = "memdump"; # file that the memory debugging creates
139our $SERVERCMD = "server.cmd"; # copy server instructions here
140our $DNSCMD = "dnsd.cmd"; # write DNS instructions here
142# other config variables
143our @protocols; # array of lowercase supported protocol servers
144our %feature; # hash of enabled features
145our %keywords; # hash of keywords from the test spec
1471;
Diagnostics4 git calls · 395 ms
CallStatusSizeTime0395 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit3 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=3
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=3
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit2 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=2
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=2
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2002.1 KiB390 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=390
git.response.bytes=2140
git.response.cache=MISS
git.response.duration_ms=390
git.fetch.wants=038381fb778af6899ceeac401dc4d204c64464ef
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=2140
git.pkt.payload.max=2119
git.sideband.band1.bytes=2118
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e1c3710b5e36cd
Request
1ee013da…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format