测试条件:

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. 6--Python入门--Python基本运算符

    算数运算符 运算符 描述 示例 + 相加 1+1→2 - 相减 1-1→0 * 相乘 1*2→2 / 相除 1/2→0.5 % 取余数 3%2→1 ** 幂运算 2**2→4 // 取商 7//2→3 ...

  2. ​Web安全测试解决方案

    Web安全测试解决方案 介绍常见的Web安全风险,Web安全测试方法.测试基本理论和测试过程中的工具引入

  3. c++ 中:和::理解

    1.冒号(:)用法 (1)表示机构内位域的定义(即该变量占几个bit空间) typedef struct _XXX{ unsigned char a:4; unsigned char c; } ; X ...

  4. Oracle数据库select语句

    select * from EMp--all data in EMP table select * from EMP where ename in('SMITH')--the data where e ...

  5. [LeetCode&Python] Problem 690. Employee Importance

    You are given a data structure of employee information, which includes the employee's unique id, his ...

  6. Vue.js学习使用心得(一)

    一.初步了解 Vue.js是一套构建用户界面的渐进式框架,它只关注视图层, 采用自底向上增量开发的设计. Vue 的目标是通过尽可能简单的 API 实现响应的数据绑定和组合的视图组件,相当于JavaS ...

  7. 用户密码管理和 su 命令

    1.passwd root 用户给自己改 密码,直接 输入 passwd  就可以了 若是给其它用户修改密码,就需要 passwd  user_name 用户锁定和解锁 passwd -l user_ ...

  8. Next.js v4.1.4 文档中文翻译【转载】

    最近想稍稍看下 React的 SSR框架 Next.js,因为不想看二手资料, 所以自己跑到 Github上看,Next.js的文档是英文的,看倒是大概也能看得懂, 但有些地方不太确定,而且英文看着毕 ...

  9. idea快捷键的修改

    快捷键Ctrl+Alt+s,快速进入intellij idea设置项,点击Keymap,如图: 点击Main menu,再点开Code,如图: 点击Completion,再点击Basic,右键,如图 ...

  10. MySQL Transaction--TPS计算规则

    TPS计算规则 在MYSQL 中,TPS(Transaction Per Second)的计算方法为 (com_commit+com_rollback)/time,但com_commit和com_ro ...