feat: add HTTPS benchmark tool with thread pool and libcurl support

This commit is contained in:
2025-04-08 04:21:02 +00:00
parent 2f3363f50b
commit 1d98a350dd
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