分类目录归档:效率优化

雅虎优化35条(转载)

第一页是中文,第二页是英文原文。

中文转载地址:http://blog.csdn.net/alex86gbk/archive/2009/08/13/4438506.aspx

一、内容部分

  • 尽量减少 HTTP请求
  • 减少 DNS查找
  • 避免跳转
  • 缓存 Ajxa
  • 推迟加载
  • 提前加载
  • 减少 DOM元素数量
  • 用域名划分页面内容
  • 使 frame数量最少
  • 避免 404错误

  继续阅读

Php性能测试(转载)

来自:http://maettig.com/code/php/php-performance-benchmarks.php (非永久链接)

关于php程序执行性能的一个测试,转载至此备查与学习。

My PHP Performance Benchmarks

PHP version 5.2.17 is running on this server. The benchmarks are done live. Reload the page to get fresh numbers. You are free to use the source for whatever you want. Giving credits to me (Thiemo Mättig) would be nice.

Please note that these are micro benchmarks. Micro benchmarks are stupid. I created this comparison to learn something about PHP and how the PHP compiler works. This can not be used to compare PHP versions or servers.

继续阅读