PHP分享
您现在的位置是:博客主页 > Web教程 > PHP分享

基于OneThink后台开启显示页面Trace信息

By 点想博主 on PHP分享 Time 2015-03-28 from:互联网 6247人已围观
简介:    在网站前端首页即可看到显示的ShowPagetrace图标,点击弹出显示框即可查看Onethink基本信息 请求信息 : 2015-03-28 09:19:38 HTTP/1.1 GET : /onethink/index.php?s=/Home/Index/index.html 运行时间 : 0.0888s ( Load:0.0290s Init:0.
在网站前端首页即可看到显示的ShowPagetrace图标,点击弹出显示框即可查看Onethink基本信息
请求信息 : 2015-03-28 09:19:38 HTTP/1.1 GET : /onethink/index.php?s=/Home/Index/index.html
运行时间 : 0.0888s ( Load:0.0290s Init:0.0080s Exec:0.0414s Template:0.0104s )
吞吐率 : 11.26req/s
内存开销 : 4,428.47 kb
查询信息 : 13 queries 0 writes
文件加载 : 49
缓存信息 : 3 gets 0 writes
配置加载 : 160
会话信息 : SESSION_ID=njqjk0ar42btm5obfaj8i6gfi2
在网站前端首页即可看到显示的ShowPagetrace图标,点击弹出显示框即可查看Onethink文件加载顺序信息
D:wampwwwonethinkindex.php ( 1.15 KB )
D:wampwwwonethinkThinkPHPThinkPHP.php ( 4.71 KB )
D:wampwwwonethinkThinkPHPLibraryThinkThink.class.php ( 12.32 KB )
D:wampwwwonethinkThinkPHPLibraryThinkStorage.class.php ( 1.38 KB )
D:wampwwwonethinkThinkPHPLibraryThinkStorageDriverFile.class.php ( 3.54 KB )
D:wampwwwonethinkThinkPHPModecommon.php ( 2.82 KB )
D:wampwwwonethinkThinkPHPCommonfunctions.php ( 50.66 KB )
D:wampwwwonethinkApplicationCommonCommonfunction.php ( 30.40 KB )
D:wampwwwonethinkThinkPHPLibraryThinkHook.class.php ( 4.02 KB )
D:wampwwwonethinkThinkPHPLibraryThinkApp.class.php ( 13.23 KB )
D:wampwwwonethinkThinkPHPLibraryThinkDispatcher.class.php ( 14.82 KB )
D:wampwwwonethinkThinkPHPLibraryThinkRoute.class.php ( 13.38 KB )
D:wampwwwonethinkThinkPHPLibraryThinkController.class.php ( 10.95 KB )
D:wampwwwonethinkThinkPHPLibraryThinkView.class.php ( 7.96 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorBuildLiteBehavior.class.php ( 3.69 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorParseTemplateBehavior.class.php ( 3.89 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorContentReplaceBehavior.class.php ( 1.91 KB )
D:wampwwwonethinkThinkPHPConfconvention.php ( 11.18 KB )
D:wampwwwonethinkApplicationCommonConfconfig.php ( 1.97 KB )
D:wampwwwonethinkApplicationCommonConftags.php ( 0.08 KB )
D:wampwwwonethinkThinkPHPLangzh-cn.php ( 2.57 KB )
D:wampwwwonethinkThinkPHPConfdebug.php ( 1.50 KB )
D:wampwwwonethinkThinkPHPLibraryThinkLog.class.php ( 3.87 KB )
D:wampwwwonethinkApplicationCommonBehaviorInitHookBehavior.class.php ( 1.69 KB )
D:wampwwwonethinkThinkPHPLibraryThinkBehavior.class.php ( 0.88 KB )
D:wampwwwonethinkThinkPHPLibraryThinkCache.class.php ( 3.84 KB )
D:wampwwwonethinkThinkPHPLibraryThinkCacheDriverFile.class.php ( 5.88 KB )
D:wampwwwonethinkApplicationHomeConfconfig.php ( 5.05 KB )
D:wampwwwonethinkApplicationHomeCommonfunction.php ( 1.92 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorReadHtmlCacheBehavior.class.php ( 5.62 KB )
D:wampwwwonethinkApplicationHomeControllerIndexController.class.php ( 1.02 KB )
D:wampwwwonethinkApplicationHomeControllerHomeController.class.php ( 1.27 KB )
D:wampwwwonethinkApplicationCommonApiConfigApi.class.php ( 1.86 KB )
D:wampwwwonethinkThinkPHPLibraryThinkModel.class.php ( 66.29 KB )
D:wampwwwonethinkThinkPHPLibraryThinkDb.class.php ( 5.68 KB )
D:wampwwwonethinkThinkPHPLibraryThinkDbDriverMysql.class.php ( 4.84 KB )
D:wampwwwonethinkThinkPHPLibraryThinkDbDriver.class.php ( 39.35 KB )
D:wampwwwonethinkApplicationHomeModelCategoryModel.class.php ( 5.22 KB )
D:wampwwwonethinkApplicationHomeModelDocumentModel.class.php ( 10.99 KB )
D:wampwwwonethinkThinkPHPLibraryThinkTemplate.class.php ( 28.57 KB )
D:wampwwwonethinkThinkPHPLibraryOTTagLibArticle.class.php ( 5.25 KB )
D:wampwwwonethinkThinkPHPLibraryThinkTemplateTagLib.class.php ( 9.19 KB )
D:wampwwwonethinkThinkPHPLibraryOTTagLibThink.class.php ( 9.80 KB )
D:wampwwwonethinkThinkPHPLibraryThinkTemplateTagLibCx.class.php ( 22.62 KB )
D:wampwwwonethinkRuntimeCacheHome769e70f2e46f34ceb60619bbda5e4691.php ( 7.12 KB )
D:wampwwwonethinkApplicationHomeWidgetCategoryWidget.class.php ( 1.08 KB )
D:wampwwwonethinkRuntimeCacheHome79d6c86ea304e276e09507d52c8f4d52.php ( 0.64 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorWriteHtmlCacheBehavior.class.php ( 0.98 KB )
D:wampwwwonethinkThinkPHPLibraryBehaviorShowPageTraceBehavior.class.php ( 5.27 KB )
在网站前端首页即可看到显示的ShowPagetrace图标,点击弹出显示框即可查看Onethink流程信息
[ view_parse ] --START--
[ template_filter ] --START--
Run BehaviorContentReplaceBehavior [ RunTime:0.000114s ]
[ template_filter ] --END-- [ RunTime:0.000206s ]
[ view_parse ] --START--
[ template_filter ] --START--
Run BehaviorContentReplaceBehavior [ RunTime:0.000060s ]
[ template_filter ] --END-- [ RunTime:-0.011311s ]
Run BehaviorParseTemplateBehavior [ RunTime:0.003806s ]
[ view_parse ] --END-- [ RunTime:0.003891s ]
[ view_filter ] --START--
Run BehaviorWriteHtmlCacheBehavior [ RunTime:0.000312s ]
[ view_filter ] --END-- [ RunTime:0.000385s ]
Run BehaviorParseTemplateBehavior [ RunTime:0.007385s ]
[ view_parse ] --END-- [ RunTime:0.003891s ]
[ view_filter ] --START--
Run BehaviorWriteHtmlCacheBehavior [ RunTime:0.000019s ]
[ view_filter ] --END-- [ RunTime:-0.003179s ]
[ app_end ] --START--
     在网站前端首页即可看到显示的ShowPagetrace图标,点击弹出显示框即可查看OnethinkSQL数据查询信息
SHOW COLUMNS FROM `onethink_category` [ RunTime:0.0028s ]
SELECT `id`,`name`,`title`,`pid`,`sort`,`list_row`,`meta_title`,`keywords`,`description`,`template_index`,`template_lists`,`template_detail`,`template_edit`,`model`,`model_sub`
,`type`,`link_id`,`allow_publish`,`display`,`reply`,`check`,`reply_model`,`extend`,`create_time`,`update_time`,`status`,`icon`,`groups` FROM `onethink_category` WHERE 
`status` = 1 ORDER BY sort [ RunTime:0.0003s ]
SHOW COLUMNS FROM `onethink_document` [ RunTime:0.0027s ]
SELECT `id`,`uid`,`name`,`title`,`category_id`,`group_id`,`description`,`root`,`pid`,`model_id`,`type`,`position`,`link_id`,`cover_id`,`display`,`deadline`,`attach`,`view`,`comment`,`extend`,`level`,`create_time`,`update_time`,`status` FROM `onethink_document` WHERE `status` = 1 AND `pid` = 0 AND `create_time` < 1427505578 AND ( deadline = 0 OR deadline > 1427505578 ) ORDER BY `id` DESC [ RunTime:0.0003s ]
SHOW COLUMNS FROM `onethink_channel` [ RunTime:0.0027s ]
SELECT `id`,`pid`,`title`,`url`,`sort`,`create_time`,`update_time`,`status`,`target` FROM `onethink_channel` WHERE ( status=1 ) ORDER BY sort [ RunTime:0.0003s ]SELECT `id`,`name`,`title`,`pid`,`sort`,`list_row`,`meta_title`,`keywords`,`description`,`template_index`,`template_lists`,`template_detail`,`template_edit`,`model`,`model_sub ,`type`,`link_id`,`allow_publish`,`display`,`reply`,`check`,`reply_model`,`extend`,`create_time`,`update_time`,`status`,`icon`,`groups` FROM `onethink_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.0003s ]
SELECT `id`,`name`,`pid`,`title`,`link_id` FROM `onethink_category` WHERE `status` = 1 ORDER BY sort [ RunTime:0.0002s ]
SELECT `id`,`name`,`title`,`pid`,`sort`,`list_row`,`meta_title`,`keywords`,`description`,`template_index`,`template_lists`,`template_detail`,`template_edit`,`model`,`model_sub`
,`type`,`link_id`,`allow_publish`,`display`,`reply`,`check`,`reply_model`,`extend`,`create_time`,`update_time`,`status`,`icon`,`groups` FROM `onethink_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.0003s ]
SELECT `id`,`name`,`pid`,`title`,`link_id` FROM `onethink_category` WHERE `status` = 1 ORDER BY sort [ RunTime:0.0002s ]
SELECT `id`,`uid`,`name`,`title`,`category_id`,`group_id`,`description`,`root`,`pid`,`model_id`,`type`,`position`,`link_id`,`cover_id`,`display`,`deadline`,`attach`,`view`,`comment`,`extend`,`level`,`create_time`,`update_time`,`status` FROM `onethink_document` WHERE `status` = 1 AND `pid` = 0 AND `category_id` IN ('1','2') AND `create_time` < 1427505578 AND ( deadline = 0 OR deadline > 1427505578 ) ORDER BY `level` DESC,`id` DESC LIMIT 0,10 [ RunTime:0.0002s ]
错误和调试当前没有数据
相关文章
文章评论

( 0 )