mirror of
https://github.com/wg/wrk
synced 2025-03-13 01:47:16 +08:00
finalize and merge lua scripting
This commit is contained in:
parent
a2d7b361f9
commit
6845a10ca3
1
Makefile
1
Makefile
@ -32,6 +32,7 @@ all: $(BIN)
|
||||
|
||||
clean:
|
||||
$(RM) $(BIN) obj/*
|
||||
@$(MAKE) -C deps/luajit clean
|
||||
|
||||
$(BIN): $(OBJ) $(ODIR)/bytecode.o
|
||||
@echo LINK $(BIN)
|
||||
|
6
README
6
README
@ -4,10 +4,8 @@ wrk - a HTTP benchmarking tool
|
||||
load when run on a single multi-core CPU. It combines a multithreaded
|
||||
design with scalable event notification systems such as epoll and kqueue.
|
||||
|
||||
This "scripted" branch of wrk includes LuaJIT and a Lua script may be
|
||||
used to perform minor alterations to the default HTTP request or even
|
||||
even generate a completely new HTTP request each time. The script may
|
||||
also inspect each response and perform custom reporting.
|
||||
An optional LuaJIT script can perform HTTP request generation, response
|
||||
processing, and custom reporting.
|
||||
|
||||
Basic Usage
|
||||
|
||||
|
@ -581,8 +581,6 @@ static int parse_args(struct config *cfg, char **url, char **headers, int argc,
|
||||
printf("wrk %s [%s] ", VERSION, aeGetApiName());
|
||||
printf("Copyright (C) 2012 Will Glozer\n");
|
||||
break;
|
||||
case 'r':
|
||||
fprintf(stderr, "wrk 2.0.0+ uses -d instead of -r\n");
|
||||
case 'h':
|
||||
case '?':
|
||||
case ':':
|
||||
|
Loading…
x
Reference in New Issue
Block a user