Skip to content

Commit fe318d5

Browse files
committed
add ab benchmark
1 parent 17e8886 commit fe318d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

memo/memo.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,13 @@ vim
282282
jfswatch -o ~/path/to/watch | xargs -n1 ~/script/to/run/when/files/change.sh
283283
fswatch -o ./*.py | xargs -n1 ./runtest.sh # 比如写单元测试的时候修改后就让测试执行
284284
285+
Benchmark
286+
-------------------------------------------------------------
287+
288+
.. code-block:: shell
289+
290+
sudo apt-get install apache2-utils
291+
ab -c 并发数量 -n 总数量 url
285292
286293
* `《Linux工具快速教程》 <https://linuxtools-rst.readthedocs.io/zh_CN/latest/>`_
287294
* `《slide show》 <http://slideshow-s9.github.io/>`_

0 commit comments

Comments
 (0)