测试条件:

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. 三层交换机实现VLAN间通信

    实验要求:使用三层交换机,让同一vlan的主机能通信,不同vlan的主机也能通信 拓扑如下: 涉及内容: 1.VTP的创建和配置 2.vlan的创建和划分 3.三层交换机的配置 4.端口的trunk模 ...

  2. Java的Annotation标签

    只需要简单的使用Java的Annotation标签即可将标准的Java方法发布成Web Service,但不是所有的Java类都可以发布成Web Service.Java类若要成为一个实现了Web S ...

  3. 数据文件resize扩容

    表空间不足 Alert日志报错 Mon Dec :: GMT+: Incremental checkpoint up to RBA[ox1af2d.3ddll.], current log tail ...

  4. TensorRT caffemodel serialize

    1.TensorRT的需要的文件 需要的基本文件(不是必须的) 1>网络结构文件(deploy.prototxt) 2>训练的权重模型(net.caffemodel) TensorRT 2 ...

  5. Anaconda canda 安装 Python3 配置

    链接: 1.安装Python 3.5以及tensorflow 以前用virtualenv觉得挺好用了,但是用多python版本下安装tensorflow,出现问题: pip is configured ...

  6. Keepalived 进程无法关闭

    操作系统:SLES12sp2 keepalived版本:1.2.12 问题描述: 使用命令"systemctl stop keepalived" 无法关闭keepalived,使用 ...

  7. Django中HtttpRequest请求

    1.什么是HttpRequest HttpRequest,就是对请求对象的封装,里面封装的是请求过程中的所有信息.在Django中HttpRequest被封装成request对象并封装到视图处理函数中 ...

  8. [LeetCode&Python] Problem 530. Minimum Absolute Difference in BST

    Given a binary search tree with non-negative values, find the minimum absolute difference between va ...

  9. 1111B - Average Superhero Gang Power

    刷数学题不知道为啥出来这个 算是贪心吧,先把所有的power加起来,然后sort一遍,每次删掉最小的那个数,记录一个max,平均值ave如果比max大,就替换,一定要小心m的值可能会比n小,意味着不一 ...

  10. tomcat服务器安装方法

    tomcat: 链接:https://pan.baidu.com/s/1pMEu0hP 密码:g0ah      (tomcat7) jdk :链接:https://pan.baidu.com/s/1 ...