Some reminiscences, some memories

Just another boring day
« 原来 Gaim 改名 Pidgin 了
a issue of PHPUnit »

24

Jul

xdebug、phpunit、phpdocumentor 都更新了

mikespook 

点发疯。

7月19日xdebug 更新到2.0;

7月23日phpunit 更新到3.1.4;

同日phpDocumentor 更新到1.4.0。 最近的更新真多啊!

别的放下不说,单说一下 windows 下 xdebug。

从这里下载 php 的 windows 扩展并放入 ext 目录。

http://xdebug.org/link.php?url=xdebug200-522-win

修改 php.ini 添加如下内容:

zend_extension_ts="E:\AppServ\php5\ext\php_xdebug-2.0.0-5.2.2.dll"

[xdebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.auto_trace = 1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.profiler_enable_trigger = 1
xdebug.trace_output_dir="E:\Sandbox\www\xdebug" 
xdebug.profiler_output_dir="E:\Sandbox\www\xdebug" 
xdebug.profiler_output_name="cachegrind.out.%s.%H.%u.profile" 

可以用下面的方法做性能测试:

http://ifang.xxiyy.com/?XDEBUG_PROFILE=1

我对 Zend  Framework 测试了一下,发现 Zend_Config 居然是一个资源大户,构造函数里的迭代实在是太消耗资源了。特别是有继承和多级子配置的时候。

差点忘了,windows 下查看性能测试文件要用:

http://sourceforge.net/projects/wincachegrind/

This entry was posted on Tuesday, July 24th, 2007 at 08:59 and is filed under PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “ xdebug、phpunit、phpdocumentor 都更新了 ”

  1. # 1 » 在 Windows 下使用 Notepad++ 和 xdebug 调试 php 脚本 Some reminiscences, some memories Says:
    March 5th, 2008 at 03:51

    [...] 的安装请参考:http://www.mikespook.com/index.php/archives/34。需要说明的是,如果同时安装有 xcache 一定要先加载 xcache,再加载 [...]

  2. # 2 » netbeans 6.5 rc 下建立 Zend Framework 项目 Some reminiscences, some memories Says:
    October 24th, 2008 at 04:38

    [...] 2. 安装 xdebug,这不是必要的一部,不过如果你想在 netbeans 中调试 php。这是非常必要的。相关内容去 xdebug 官方网站了解,这里也有简单的说明。 [...]

  3. # 3 使用Notepad++和xdebug调试php脚本 — oh2w Says:
    December 9th, 2009 at 01:52

    [...] 的安装请参考:http://www.mikespook.com/index.php/archives/34。需要说明的是,如果同时安装有 xcache 一定要先加载 xcache,再加载 [...]

Leave a Reply

Trackback URI | Comments RSS

 

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Recent Comments

  • cbf107 on 我们精通精通
  • mikespook on 我们精通精通
  • == on 我们精通精通
  • 老熊 on 关于Web编程异步模型的白日梦
  • Some reminiscences, some memories » Blog Archive » Akihabara 指南目录 on Akihabara 指南

Tags

乱码 协程 地震 备案 安装 广州 异步 性能 我爱发明 扯淡 招聘 游戏 漏洞 翻译 豆瓣 39.com Adobe akihabara config countdown Demo Flash game engine golang google html5 issue linux Micromedia MongoDB mysql NetBeans nginx NoSQL oracle PHP phpunit Python trac ubuntu xdebug xml xubuntu yield Zend Framework

Blogroll

  • Blog on 27th Floor
  • DBA notes
  • Tim[后端技术]
  • 唐海燕
  • 小众音乐
  • 抚琴居
  • 某人的栖息地
  • 番茄’s Blog
  • 網站製作學習誌
  • 纸老虎传媒

Old friends

  • cbf107

Only

  • 媚惑桃花

OurPNP

  • Biaoest:标的最高级
  • flexsns-官方博客
  • PNP University
  • PNP街坊
  • smallfish 鱼哥的窝子
  • 冰山日志
  • 墙外的光神V5
  • 夜雨's Blog
  • 小冬kobe
  • 小路的奇异世界
  • 广州萌芽工作室
  • 老甘blog
  • 赖勇浩的编程私伙局

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Powered by WordPress
mikespook.com 粤ICP备09065095号