测试条件:

CPU: 2C 4T 2.8GHZ

MEM: 8G

DISK: 512GB SSD

OS: OS X 10.11.6

测试指令

ab -n 2000 -c 10

测试表现

MIXPHP RPS:8K

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Server Software:        swoole-http-server
Server Hostname: 127.0.0.1
Server Port: 9501 Document Path: /
Document Length: 12 bytes Concurrency Level: 10
Time taken for tests: 0.223 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 348000 bytes
HTML transferred: 24000 bytes
Requests per second: 8969.49 [#/sec] (mean)
Time per request: 1.115 [ms] (mean)
Time per request: 0.111 [ms] (mean, across all concurrent requests)
Transfer rate: 1524.11 [Kbytes/sec] received

Laravel(使用php artisan serve)

RPS: 22…

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8000 Document Path: /t
Document Length: 11 bytes Concurrency Level: 10
Time taken for tests: 72.551 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 2060448 bytes
HTML transferred: 22000 bytes
Requests per second: 27.57 [#/sec] (mean)
Time per request: 362.757 [ms] (mean)
Time per request: 36.276 [ms] (mean, across all concurrent requests)
Transfer rate: 27.73 [Kbytes/sec] received

SpringBoot

RPS 1900

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8080 Document Path: /hello
Document Length: 11 bytes Concurrency Level: 10
Time taken for tests: 1.050 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 288000 bytes
HTML transferred: 22000 bytes
Requests per second: 1904.65 [#/sec] (mean)
Time per request: 5.250 [ms] (mean)
Time per request: 0.525 [ms] (mean, across all concurrent requests)
Transfer rate: 267.84 [Kbytes/sec] received

SpringBoot Laravel(artisan serve) MIXPHP简单性能测试的更多相关文章

  1. laravel artisan 命令工具

    //全局相关 php artisan:显示详细的命令行帮助信息,同 php artisan list php artisan –help:显示帮助命令的使用格式,同 php artisan help ...

  2. Greenplum 简单性能测试与分析

    如今,多样的交易模式以及大众消费观念的改变使得数据库应用领域不断扩大,现代的大型分布式应用系统的数据膨胀也对数据库的海量数据处理能力和并行处理能力提出了更高的要求,如何在数据呈现海量扩张的同时提高处理 ...

  3. Mininet实验 设置带宽之简单性能测试

    原文:设置带宽之简单性能测试 这个实验主要还是说明通过python程序来设定Mininet中的链路带宽. 目的: Python脚本实现自定义拓扑 设置链路的带宽.延迟及丢包率 iperf测试主机间的带 ...

  4. laravel artisan 命令列表

    5.4版本新增 命令 说明 备注 php artisan make:resource ? 创建api返回格式化资源 >=5.4版本可用 php artisan make:rule ? 创建val ...

  5. .Net core2.0日志组件Log4net、Nlog简单性能测试

    .Net core之Log4net.Nlog简单性能测试 比较log4net.nlog的文件写入性能(.netcore环境),涉及代码和配置如有不正确的地方,还请批评指正. 原创,转载请著名出处:ht ...

  6. 利用SpringBoot+Logback手写一个简单的链路追踪

    目录 一.实现原理 二.代码实战 三.测试 最近线上排查问题时候,发现请求太多导致日志错综复杂,没办法把用户在一次或多次请求的日志关联在一起,所以就利用SpringBoot+Logback手写了一个简 ...

  7. snaic和tornado的简单性能测试

    操作系统 : CentOS7.3.1611_x64 Python 版本 : 3.6.8 tornado版本:6.0.2 snaic版本:19.9.0 CPU : Intel(R) Core(TM) i ...

  8. Laravel Artisan Tinker: The optimize Command

    Laravel Artisan Tinker: The optimize Command December 7, 2016 Laravel JOHN KOSTER The optimize comma ...

  9. SpringBoot切面Aop的demo简单讲解

    前言 本篇文章主要介绍的是SpringBoot切面Aop的demo简单讲解. SpringBoot Aop 说明:如果想直接获取工程那么可以直接跳到底部,通过链接下载工程代码. 切面(Aop) 一.概 ...

随机推荐

  1. 在dosbox窗口显示a~z

    assume cs:code stack segment db 128 dup (0) stack ends code segment start: mov ax,stack mov ss,ax mo ...

  2. Spring Batch框架流程的简单介绍

    Spring Batch流程介绍: 上图描绘了Spring Batch的执行过程.说明如下: 每个Batch都会包含一个Job.Job就像一个容器,这个容器里装了若干Step,Batch中实际干活的也 ...

  3. 2.18 爬页面源码(page_source)

    2.18 爬页面源码(page_source) 前言有时候通过元素的属性的查找页面上的某个元素,可能不太好找,这时候可以从源码中爬出想要的信息.selenium的page_source方法可以获取到页 ...

  4. 参数SID写错,ERROR OGG-00664 ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist

    添加进程,启动进程报错 1.0添加进程 GGSCI (t2) > add ext exta,tranlog,begin now EXTRACT added. --添加exta(ext标准命名规则 ...

  5. Linux串口设备树硬件、软件流控设置

    /********************************************************************** * Linux串口设备树硬件.软件流控设置 * 说明: ...

  6. FileNotFoundError: [Errno 2] No such file or directory的解决方法

    1.获取当前文件所在路径 basedir = os.path.dirname(__file__) print("basedir:" + basedir) 2.将路径进行拼接 upl ...

  7. [LeetCode&Python] Problem 888. Fair Candy Swap

    Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Ali ...

  8. Unity 项目中委托Delegate用法案例

    Unity中Delegate的用法场景 本文提供全流程,中文翻译. Chinar 坚持将简单的生活方式,带给世人!(拥有更好的阅读体验 -- 高分辨率用户请根据需求调整网页缩放比例) Chinar - ...

  9. mysql设置更改root密码、mysql服务器的连接、mysql常用命令

     1.设置更改root密码 查看mysql 启动与否,若没启动就运行:/usr/local/mysql56/bin/mysqlps aux |grep mysql  或 netstat -tulnp ...

  10. 02 JDBC相关

    ====================================================================================JDBC JAVA Databa ...