Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tboox/benchbox

🧀 The Benchmark Testing Box
https://github.com/tboox/benchbox

benchmark coroutine tbox xmake

Last synced: about 1 month ago
JSON representation

🧀 The Benchmark Testing Box

Awesome Lists containing this project

README

        

# The Benchmark Testing Box

[![Join the chat at https://gitter.im/waruqi/tboox](https://badges.gitter.im/waruqi/tboox.svg)](https://gitter.im/waruqi/tboox?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![donate](http://tboox.org/static/img/donate.svg)](http://tboox.org/donation/)

## Introduction

Benchbox is a benchmark testing utilities.

## Build

Please install xmake first: [xmake](http://xmake.io)

```bash
$ xmake
```

## Run case

```bash
$ xmake coroutine -n switch
or $ xmake coroutine --casename switch

$ xmake coroutine -n channel
or $ xmake coroutine --casename channel
```

## Reports

If you want to look the testing results, please refer to [reports](https://github.com/waruqi/benchbox/wiki/reports).

## List tests

```bash
$ xmake --help
```

The results:

```
...

Tasks:
coroutine The coroutine benchmark.
other The other benchmark.
```

## List cases

```bash
$ xmake coroutine --help
```

The results:

```
The coroutine benchmark.

Options:

...

-n CASENAME, --casename=CASENAME The case name.
- switch
- channel
```

#### Contacts

* Email:[[email protected]](mailto:[email protected])
* Homepage:[TBOOX Open Source Project](http://www.tboox.org/cn)
* Community:[TBOOX Open Source Community](http://www.tboox.org/forum)

## 简介

Benchbox是一个基准测试包,里面包含许多针对第三方库功能的性能基准测试和对比。

例如:各大开源协程库性能基准测试,等等

## 编译

请先安装: [xmake](http://xmake.io)

然后运行:

```bash
$ xmake
```

## 运行测试case

```bash
$ xmake coroutine -n switch
or $ xmake coroutine --casename switch

$ xmake coroutine -n channel
or $ xmake coroutine --casename channel
```

## 测试报告

如果想要查看已有的测试结果,请参考:[测试报告](https://github.com/waruqi/benchbox/wiki/reports).

## 显示所有测试用例

```bash
$ xmake --help
```

结果如下:

```
...

Tasks:
coroutine The coroutine benchmark.
other The other benchmark.
```

## 显示某个测试的所有case

```bash
$ xmake coroutine --help
```

结果如下:

```
The coroutine benchmark.

Options:

...

-n CASENAME, --casename=CASENAME The case name.
- switch
- channel
```

#### 联系方式

* 邮箱:[[email protected]](mailto:[email protected])
* 主页:[TBOOX开源工程](http://www.tboox.org/cn)
* 社区:[TBOOX开源社区](http://www.tboox.org/forum)
* QQ群:343118190
* 微信公众号:tboox-os