From ce481ac33651b54baedf7e858b31e1de66adc8a1 Mon Sep 17 00:00:00 2001 From: jie Date: Sat, 13 Mar 2021 19:48:34 +0800 Subject: [PATCH] update readme --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 73bd119..fa57029 100644 --- a/README.md +++ b/README.md @@ -41,14 +41,28 @@ Write the handlers in [handlers.hpp](handlers.hpp) ## Build -Please refer to [this](build/README.md). +In the `shell`: + +- Create a directory `build`, and enter it: + ``` + mkdir build + cd build + ``` +- Run: + ``` + cmake .. + ``` +- Build: + ``` + cmake --build . + ``` ## Running -Run in `shell`: +In `build`, run in `shell`: ``` -./build/bserv +./bserv ``` @@ -61,7 +75,7 @@ This test is performed by Jmeter. The unit for throughput is Transaction per sec |`/login`|139.55| |`/find/`|958.77| -For `/login`, we must slow down the attacker's speed. In Java, plain password is stored, which results in a higher performance. +For `/login`, we intentionally slow down the attacker's speed. ### Computer Hardware: