Benchbox
🧀 The Benchmark Testing Box
Install / Use
/learn @tboox/BenchboxREADME
The Benchmark Testing Box
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
- Email:waruqi@gmail.com
- Homepage:TBOOX Open Source Project
- Community:TBOOX Open Source Community
简介
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
联系方式
- 邮箱:waruqi@gmail.com
- 主页:TBOOX开源工程
- 社区:TBOOX开源社区
- QQ群:343118190
- 微信公众号:tboox-os
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
