feat: add HTTPS benchmark tool with thread pool and libcurl support
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
CC=g++
|
||||
CFLAGS=-Werror -Wall -Wextra -Ofast -pedantic
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
$(CC) main.cpp -o httpsbench -lssl -lcrypto -lcurl -pthread $(CFLAGS)
|
||||
|
||||
run: build
|
||||
@echo "Usage: ./httpsbench -c <ThreadCount> -n <RequestCount> <URL>"
|
||||
@echo "Example: ./httpsbench -c 10 -n 1000 http://example.com"
|
||||
./httpsbench $(ARGS)
|
||||
|
||||
.PHONY: all build run
|
||||
Reference in New Issue
Block a user