Skip to content

Commit

Permalink
feat: fix readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
linkxzhou committed Mar 26, 2024
1 parent 596b2e5 commit e0c4a03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## a HTTP(HTTP/1, HTTP/2, HTTP/3, Websocket, gRPC) stress testing tool, and support single and distributed.
# a HTTP(HTTP/1, HTTP/2, HTTP/3, Websocket, gRPC) stress testing tool, and support single and distributed.

[![build](https://github.com/linkxzhou/http_bench/actions/workflows/build1.18.yml/badge.svg)](https://github.com/linkxzhou/http_bench/actions/workflows/build1.18.yml)
[![build](https://github.com/linkxzhou/http_bench/actions/workflows/build1.19.yml/badge.svg)](https://github.com/linkxzhou/http_bench/actions/workflows/build1.19.yml)
Expand All @@ -23,7 +23,7 @@ http_bench is a tiny program that sends some load to a web application, support

![avatar](./demo.png)

### Installation
## Installation

```
go get github.com/linkxzhou/http_bench
Expand All @@ -35,10 +35,10 @@ cd http_bench
go build .
```

### Architecture
## Architecture
![avatar](./arch.png)

### Basic Usage
## Basic Usage

```
./http_bench http://127.0.0.1:8000 -c 1000 -d 60s
Expand Down Expand Up @@ -66,7 +66,7 @@ Latency distribution:
99% in 0.262 secs
```

### Command Line Options
## Command Line Options

```
-n Number of requests to run.
Expand Down Expand Up @@ -141,7 +141,7 @@ Example stress test on browser:
Open url(http://127.0.0.1:12345) on browser
```

### Support Function and Variable
## Support Function and Variable

**(1) intSum**
```
Expand Down
10 changes: 5 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## HTTP(HTTP/1, HTTP/2, HTTP/3, Websocket, gRPC)压测工具,并支持单机和分布式
# HTTP(HTTP/1, HTTP/2, HTTP/3, Websocket, gRPC)压测工具,并支持单机和分布式

[![build](https://github.com/linkxzhou/http_bench/actions/workflows/build1.18.yml/badge.svg)](https://github.com/linkxzhou/http_bench/actions/workflows/build1.18.yml)
[![build](https://github.com/linkxzhou/http_bench/actions/workflows/build1.19.yml/badge.svg)](https://github.com/linkxzhou/http_bench/actions/workflows/build1.19.yml)
Expand All @@ -21,7 +21,7 @@

![avatar](./demo.png)

### 安装
## 安装

```
go get github.com/linkxzhou/http_bench
Expand All @@ -33,10 +33,10 @@ cd http_bench
go build .
```

### 架构
## 架构
![avatar](./arch.png)

### 使用
## 使用

```
./http_bench http://127.0.0.1:8000 -c 1000 -d 60s
Expand Down Expand Up @@ -64,7 +64,7 @@ Latency distribution:
99% in 0.262 secs
```

### 命令行解析
## 命令行解析

```
-n 请求HTTP的次数
Expand Down

0 comments on commit e0c4a03

Please sign in to comment.