This commit is contained in:
2025-04-08 06:21:02 +02:00
parent 3199654a4b
commit ede25f9002
6 changed files with 268 additions and 2 deletions
+14
View File
@@ -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