Artifactspublic-v0

curl

master
ply4 git calls41 ms289 KiB3 cachedprotocol v2
193 lines5.4 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###########################################################################
24AUTOMAKE_OPTIONS = foreign nostdinc
26# Get CSOURCES, HHEADERS, LIB_RCFILES variables
27include Makefile.inc
29EXTRA_DIST = \
30 CMakeLists.txt \
31 config-mac.h \
32 config-os400.h \
33 config-win32.h \
34 curl_config-cmake.h.in \
35 curl_config.h.in \
36 libcurl.def \
37 Makefile.soname \
38 optiontable.pl \
39 $(LIB_RCFILES)
41lib_LTLIBRARIES = libcurl.la
43if BUILD_UNITTESTS
44noinst_LTLIBRARIES = libcurlu.la
46# generate a file with "private" prototypes for unit testing
47UNITPROTOS = unitprotos.h
49else
50noinst_LTLIBRARIES =
51endif
53# This might hold -Werror
54CFLAGS += @CURL_CFLAG_EXTRAS@
56# Specify our include paths here, and do it relative to $(top_srcdir) and
57# $(top_builddir), to ensure that these paths which belong to the library
58# being currently built and tested are searched before the library which
59# might possibly already be installed in the system.
61# $(top_srcdir)/include is for libcurl's external include files
62# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
63# $(srcdir) for the generated unity source to find included sources
65AM_CPPFLAGS = -I$(top_srcdir)/include \
66 -I$(top_builddir)/lib \
67 -I$(top_srcdir)/lib \
68 -I$(srcdir)
70# Prevent LIBS from being used for all link targets
71LIBS = $(BLANK_AT_MAKETIME)
73if DEBUGBUILD
74AM_CPPFLAGS += -DDEBUGBUILD
75endif
76AM_CPPFLAGS += -DBUILDING_LIBCURL
78if DOING_NATIVE_WINDOWS
79CSOURCES += dllmain.c
80endif
82if USE_UNITY
83libcurl_unity.c: $(top_srcdir)/scripts/mk-unity.pl $(CSOURCES)
84 @PERL@ $(top_srcdir)/scripts/mk-unity.pl --include $(CSOURCES) > libcurl_unity.c
86nodist_libcurl_la_SOURCES = libcurl_unity.c
87libcurl_la_SOURCES =
88nodist_libcurlu_la_SOURCES = libcurl_unity.c
89libcurlu_la_SOURCES =
90CLEANFILES = libcurl_unity.c
91else
92libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS)
93libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS)
94CLEANFILES =
95endif
97CLEANFILES += $(UNITPROTOS)
99libcurl_la_CPPFLAGS_EXTRA =
100libcurl_la_LDFLAGS_EXTRA =
101libcurl_la_CFLAGS_EXTRA =
103if CURL_LT_SHLIB_USE_VERSION_INFO
104# Get VERSIONCHANGE, VERSIONADD, VERSIONDEL, VERSIONINFO variables
105include Makefile.soname
106libcurl_la_LDFLAGS_EXTRA += $(VERSIONINFO)
107endif
109if CURL_LT_SHLIB_USE_NO_UNDEFINED
110libcurl_la_LDFLAGS_EXTRA += -no-undefined
111endif
113if CURL_LT_SHLIB_USE_MIMPURE_TEXT
114libcurl_la_LDFLAGS_EXTRA += -mimpure-text
115endif
117if CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS
118libcurl_la_LDFLAGS_EXTRA += -Wl,--version-script=libcurl.vers
119else
120# if symbol-hiding is enabled, hide them!
121if DOING_CURL_SYMBOL_HIDING
122libcurl_la_LDFLAGS_EXTRA += -export-symbols-regex '^curl_.*'
123endif
124endif
126if USE_CPPFLAG_CURL_STATICLIB
127libcurl_la_CPPFLAGS_EXTRA += -DCURL_STATICLIB
128else
129if HAVE_WINDRES
130libcurl_la_SOURCES += $(LIB_RCFILES)
131$(LIB_RCFILES): $(top_srcdir)/include/curl/curlver.h
132endif
133endif
135if DOING_CURL_SYMBOL_HIDING
136libcurl_la_CPPFLAGS_EXTRA += -DCURL_HIDDEN_SYMBOLS
137libcurl_la_CFLAGS_EXTRA += $(CFLAG_CURL_SYMBOL_HIDING)
138endif
140libcurl_la_CPPFLAGS = $(AM_CPPFLAGS) $(libcurl_la_CPPFLAGS_EXTRA)
141libcurl_la_LDFLAGS = $(libcurl_la_LDFLAGS_EXTRA) $(CURL_LDFLAGS_LIB) $(LIBCURL_PC_LIBS_PRIVATE)
142libcurl_la_CFLAGS = $(libcurl_la_CFLAGS_EXTRA)
144libcurlu_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DUNITTESTS
145libcurlu_la_LDFLAGS = -static $(LIBCURL_PC_LIBS_PRIVATE)
147CHECKSRC = $(CS_$(V))
148CS_0 = @echo " RUN " $@;
149CS_1 =
150CS_ = $(CS_0)
152checksrc:
153 $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) $(CSOURCES) $(HHEADERS))
155if NOT_CURL_CI
156if DEBUGBUILD
157# for debug builds, we scan the sources on all regular make invokes
158CHECKSOURCES = checksrc
159endif
160endif
162all-local: $(CHECKSOURCES)
164UNIT_V = $(UNITV_$(V))
165UNITV_0 = @echo " UNITPR " $@;
166UNITV_1 =
167UNITV_ = $(UNITV_0)
169# UNITPROTOS depends on every C file in the lib/ dir
170$(UNITPROTOS): $(CSOURCES)
171 $(UNIT_V)(cd $(srcdir) && @PERL@ ../scripts/extract-unit-protos $(CSOURCES)) > $(top_builddir)/lib/$(UNITPROTOS)
173_tidy_cflags =
174TIDYFLAGS =
175if CURL_WERROR
176TIDYFLAGS += '--warnings-as-errors=*'
177endif
178if CLANG
179_tidy_cflags += $(CFLAGS)
180endif
182tidy:
183 (_csources=`echo ' $(CSOURCES)' | sed -E -e 's/ +$$//' -e 's/ +/ /g' -e 's| | $(srcdir)/|g'`; \
184 @CLANG_TIDY@ --config-file=$(top_srcdir)/.clang-tidy.yml $(TIDYFLAGS) $(CURL_CLANG_TIDYFLAGS) $$_csources \
185 -- $(AM_CPPFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H $(_tidy_cflags))
187optiontable:
188 @PERL@ $(srcdir)/optiontable.pl $(top_srcdir)/include/curl/curl.h > $(srcdir)/easyoptions.c
190if HAVE_WINDRES
191.rc.lo:
192 $(LIBTOOL) --tag=RC --mode=compile $(RC) -I$(top_srcdir)/include $(RCFLAGS) -i $< -o $@
193endif
Diagnostics4 git calls · 41 ms
CallStatusSizeTime041 ms
discover200152 B3 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
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=36
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.3 KiB · hit36 ms
git.upload-pack fetch
http.response.status_code=200
git.response.bytes=2321
git.response.cache=HIT
git.response.duration_ms=36
git.fetch.wants=9a3189ce81868e027d6d258b807cf2f71d0c91ea
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=2321
git.pkt.payload.max=2300
git.sideband.band1.bytes=2299
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
a5e1493c9dbda140
Request
ccf8b7dc…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format