Comments (4)
opcache也有hit到,奇怪了
array (size=8)
'opcache_enabled' => boolean true
'cache_full' => boolean false
'restart_pending' => boolean false
'restart_in_progress' => boolean false
'memory_usage' =>
array (size=4)
'used_memory' => int 35838360
'free_memory' => int 98366824
'wasted_memory' => int 12544
'current_wasted_percentage' => float 0.0093460083007812
'interned_strings_usage' =>
array (size=4)
'buffer_size' => int 8388608
'used_memory' => int 2466408
'free_memory' => int 5922200
'number_of_strings' => int 42100
'opcache_statistics' =>
array (size=13)
'num_cached_scripts' => int 1154
'num_cached_keys' => int 2275
'max_cached_keys' => int 7963
'hits' => int 33298
'start_time' => int 1513224027
'last_restart_time' => int 0
'oom_restarts' => int 0
'hash_restarts' => int 0
'manual_restarts' => int 0
'misses' => int 1163
'blacklist_misses' => int 0
'blacklist_miss_ratio' => float 0
'opcache_hit_rate' => float 96.625170482575
'scripts' =>
array (size=1154)
'/app/vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/IdentificationVariableDeclaration.php' =>
array (size=6)
'full_path' => string '/app/vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/IdentificationVariableDeclaration.php' (length=89)
'hits' => int 37
'memory_consumption' => int 4240
'last_used' => string 'Thu Dec 14 04:04:18 2017' (length=24)
'last_used_timestamp' => int 1513224258
'timestamp' => int 1512442921
from phpdish.
我猜测是因为我在windows上跑docker环境,虚拟机的文件系统有消耗,像file_exsitst应该有cache的,正式环境应该很快吧
from phpdish.
按照这个:http://www.symfonychina.com/doc/current/performance.html
来优化composer能把请求时间降到100ms以内,我可以接收这个速度,不太熟悉symfony
from phpdish.
symfony应用在开发环境速度是很堪忧的,生产环境是做了很多优化的,速度很快
from phpdish.
Related Issues (20)
- 不支持MySQL5.7吗? HOT 4
- freeze_amount字段无法找到 HOT 2
- prod/dev环境的缓存问题 HOT 1
- error HOT 3
- 【BUG】创建专栏时候地址没有验证规则
- 【BUG】专栏封面图片css溢出
- 【建议】评论框相关
- 安装时候第三步错误提示
- 1.3.x-beta2 如果安装出错的话看这里
- 更新 bootstrap 到 4.x HOT 2
- github登录问题 HOT 1
- 上传照片出错,所有地方的上传图片都出错 HOT 8
- 不错的系统
- 网址无法打开
- 有dockerfile么? HOT 4
- php兼容问题 HOT 9
- mysql5.7兼容 HOT 1
- admin后台得静态资源构建 HOT 2
- phpdish:install检查writable的时候最好加上web/media HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpdish.