Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tboox/benchbox
- Owner: tboox
- License: apache-2.0
- Created: 2016-08-31T06:46:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T09:43:25.000Z (about 3 years ago)
- Last Synced: 2024-11-02T18:41:20.578Z (about 1 month ago)
- Topics: benchmark, coroutine, tbox, xmake
- Language: C
- Homepage: https://tboox.org
- Size: 21.3 MB
- Stars: 33
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-xmake - benchbox
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