Skip to content

Commit

Permalink
Add new performance measurements.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristaps committed Aug 6, 2015
1 parent ff8b0a8 commit 211ca52
Show file tree
Hide file tree
Showing 16 changed files with 33,355 additions and 582 deletions.
14 changes: 8 additions & 6 deletions Makefile
Expand Up @@ -197,14 +197,13 @@ REGRESS_SRCS = regress/regress.c \
regress/test-upload.c
SVGS = figure1.svg \
figure2.png \
figure3.png \
figure4.svg

all: kfcgi libkcgi.a libkcgihtml.a libkcgijson.a libkcgixml.a libkcgiregress.a

afl: $(AFL)

samples: all sample sample-fcgi
samples: all sample sample-fcgi sample-cgi

regress: $(REGRESS)
@for f in $(REGRESS) ; do \
Expand Down Expand Up @@ -320,10 +319,10 @@ config.h: config.h.pre config.h.post configure $(TESTS)
rm -f config.log
CC="$(CC)" CFLAGS="$(CFLAGS)" ./configure

installcgi: sample sample-fcgi
installcgi: sample sample-fcgi sample-cgi
install -m 0755 sample $(PREFIX)/sample.cgi
install -m 0755 sample-cgi $(PREFIX)/sample-simple.cgi
install -m 0755 sample-fcgi $(PREFIX)/sample-fcgi.cgi
install -m 0755 sample sample-fcgi $(PREFIX)
install -m 0444 template.xml $(PREFIX)

install: all
Expand All @@ -336,7 +335,7 @@ install: all
install -m 0444 kcgi.h kcgihtml.h kcgijson.h kcgixml.h $(DESTDIR)$(INCLUDEDIR)
install -m 0444 $(MAN3S) $(DESTDIR)$(MAN3DIR)
install -m 0444 $(MAN8S) $(DESTDIR)$(MAN8DIR)
install -m 0444 template.xml sample.c sample-fcgi.c $(DESTDIR)$(DATADIR)
install -m 0444 template.xml sample.c sample-fcgi.c sample-cgi.c $(DESTDIR)$(DATADIR)
rm -f kcgi.h~

sample: sample.o libkcgi.a libkcgihtml.a
Expand All @@ -345,6 +344,9 @@ sample: sample.o libkcgi.a libkcgihtml.a
sample-fcgi: sample-fcgi.o libkcgi.a
$(CC) -o $@ $(STATIC) sample-fcgi.o -L. libkcgi.a -lz

sample-cgi: sample-cgi.o
$(CC) -o $@ $(STATIC) sample-cgi.o

www: $(SVGS) index.html kcgi.tgz kcgi.tgz.sha512 $(HTMLS) $(TUTORIALHTMLS)

installwww: www
Expand Down Expand Up @@ -400,7 +402,7 @@ kcgi.tgz:
gnuplot $<

clean:
rm -f kcgi.tgz kcgi.tgz.sha512 $(SVGS) $(HTMLS) sample sample-fcgi sample.o sample-fcgi.o kfcgi kfcgi.o
rm -f kcgi.tgz kcgi.tgz.sha512 $(SVGS) $(HTMLS) sample sample-fcgi sample.o sample-fcgi.o kfcgi kfcgi.o sample-cgi sample-cgi.o
rm -f index.html $(TUTORIALHTMLS)
rm -f libkcgi.a $(LIBOBJS) $(LIBCONFIGOBJS)
rm -f libkcgihtml.a kcgihtml.o
Expand Down
5,212 changes: 5,212 additions & 0 deletions figure2-cgi-naked.tsv

Large diffs are not rendered by default.

4,157 changes: 4,157 additions & 0 deletions figure2-cgi.tsv

Large diffs are not rendered by default.

0 comments on commit 211ca52

Please sign in to comment.