Retoor software development Projects Research SearchXNG
Register Sign In

11 lines
211 B
Makefile
Raw Normal View History

feat: add initial project structure with core configuration files Add Makefile with GCC build targets for rpubsub server and load_test binary, implement high-performance multi-threaded WebSocket pub/sub server in rpubsub.c with lock-free task queue and worker thread pool, create load_test.c for benchmarking with 1000 subscribers and 10 publishers over WebSocket, and include test.py asyncio-based integration test script
2025-09-27 00:33:35 +02:00
build:
gcc -D_GNU_SOURCE -O3 -march=native -mtune=native -flto -pthread rpubsub.c -o rpubsub -lrt -std=c11
gcc -O3 -march=native -std=c11 -o load_test load_test.c -lm -lrt
clean:
rm -f rpubsub load_test
Reference in New Issue Copy Permalink
6f7f47f7ef
rpubsub/Makefile
Response time: 20ms
Mail Licenses API