Skip to content

louisyoo/benchbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Benchmark Testing Box

Join the chat at https://gitter.im/waruqi/tboox donate

Introduction

Benchbox is a benchmark testing utilities.

Build

Please install xmake first: xmake

    $ xmake

Run case

    $ 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.

List tests

    $ xmake --help

The results:

    ...

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

List cases

    $ xmake coroutine --help

The results:

The coroutine benchmark.

Options: 

    ...

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

Contacts

简介

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

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

编译

请先安装: xmake

然后运行:

    $ xmake

运行测试case

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

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

测试报告

如果想要查看已有的测试结果,请参考:测试报告.

显示所有测试用例

    $ xmake --help

结果如下:

    ...

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

显示某个测试的所有case

    $ xmake coroutine --help

结果如下:

The coroutine benchmark.

Options: 

    ...

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

联系方式

About

The Benchmark Testing Box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 63.5%
  • C++ 31.4%
  • Objective-C 3.4%
  • Other 1.7%