Add benchmark tool

This commit is contained in:
yhirose committed 2024-09-05 12:22:46 -04:00
1 parent b4989130da
commit c75d071615
6 files changed
+14388

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#include "httplib.h"
using namespace httplib;
int main() {
Server svr;
svr.Get("/", [](const Request &, Response &res) {
res.set_content("Hello World!", "text/plain");
});
svr.listen("0.0.0.0", 8080);
}