( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.15074103872require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.17374132864include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.17374132864get_header( $name = ???, $args = ??? ).../single.php:10
60.17374133080locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.17384133176load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.17384133720require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.17414141128wp_head( ).../header.php:18
100.17414141128do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.17414141344WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.17414141344WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.17444144760wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.17444144760do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.17444144976WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.17444144976WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.17464146864twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.17484148384wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.17484148384WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.17484148384WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.17484148384_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.17494148704wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.17494155088trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.15074103872require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.17374132864include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.17374132864get_header( $name = ???, $args = ??? ).../single.php:10
60.17374133080locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.17384133176load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.17384133720require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.17414141128wp_head( ).../header.php:18
100.17414141128do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.17414141344WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.17414141344WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.17444144760wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.17444144760do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.17444144976WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.17444144976WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.17464146864twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.20694156192wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.20694156192WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.20694156192WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.20694156192_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.20694156512wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.20704156736trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

resin vs jetty


服務器:redhat as 4 2.6.9-22.ELsmp
           Intel(R) Pentium(R) D CPU 2.80GHz
           2G記憶體
           160G SATA


客戶機:WINXP SP2
           Intel(R) Pentium(r) 4 CPU 2.93GHz
           1G記憶體
            80G IDE硬碟


測試軟體:Load Runner 7.8


並發用戶數: 500


測試代碼:


<%@ page language=”java” import=”java.util.*” pageEncoding=”ISO-8859-1″%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”;


HashMap m = new HashMap();
for(int i=0;i<10000;i++)
 m.put(i,i);
m.clear();
m = null;
%>


<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
  <head>
    <base href=”<%=basePath%>”>
   
    <title>My JSP ‘test.jsp’ starting page</title>
   
 <meta http-equiv=”pragma” content=”no-cache”>
 <meta http-equiv=”cache-control” content=”no-cache”>
 <meta http-equiv=”expires” content=”0″>   
 <meta http-equiv=”keywords” content=”keyword1,keyword2,keyword3″>
 <meta http-equiv=”description” content=”This is my page”>
 <!–
 <link rel=”stylesheet” type=”text/css” href=”styles.css”>
 –>


  </head>
 
  <body>
    This is my JSP page. <%=basePath%><br>
  </body>
</html>


測試結果:


jetty 6.1.5







 分析摘要 周期: 30-09-2007 10:20:45 – 30-09-2007 10:21:09












方案名: Scenario1
会话的结果文件: e:\Temp\res\res.lrr
持续时间: 24秒.





 统计信息摘要 

























  最大运行 Vuser 数: 500
  总吞吐量(字节): 439,733
  平均吞吐量(字节/秒): 17,589
  总点击次数: 500
  平均每秒点击次数: 20   查看 HTTP 响应摘要





 事务摘要 











  事务: 通过总数: 2,000 失败总数: 0 停止总数: 0          平均响应时间





















































事务名 最小值 平均值 最大值 标准偏差 90% 通过 失败 停止
index 0.634 2.209 3.847 0.856 3.283 500 0 0






 HTTP 响应摘要 













HTTP 响应 总计 每秒
HTTP_200 500 20


 

 

 

Resin pro 3.0.23







 分析摘要 周期: 30-09-2007 10:23:44 – 30-09-2007 10:24:15












方案名: Scenario1
会话的结果文件: e:\Temp\res\res.lrr
持续时间: 31秒.





 统计信息摘要 

























  最大运行 Vuser 数: 500
  总吞吐量(字节): 428,380
  平均吞吐量(字节/秒): 13,387
  总点击次数: 500
  平均每秒点击次数: 15.625   查看 HTTP 响应摘要





 事务摘要 











  事务: 通过总数: 2,000 失败总数: 0 停止总数: 0          平均响应时间





















































事务名 最小值 平均值 最大值 标准偏差 90% 通过 失败 停止
index 0.652 6.722 11.39 4.065 10.882 500 0 0






 HTTP 响应摘要 













HTTP 响应 总计 每秒
HTTP_200 500 15.625


 

總結:

      雖然這次測試比較簡單.但也應該可以體現出jetty性能比resin好一點.而且resin還購買了正版的licenses,沒有把tomcat加入測試.有時間再測試一個tomcat吧

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.