WordPress.org

Ready to get started?Download WordPress

Forums

P3 (Plugin Performance Profiler)
[resolved] Result page doesn't display any chart (14 posts)

  1. Marco Panichi
    Member
    Posted 10 months ago #

    Hi,

    First of all thank you for the good plugin!

    My problem is that every time I perform a scan, the result page doesn't display any chart.

    Here is a screenshot:
    http://www.marcopanichi.com/www.marcopanichi.com/work/p3.png

    These are the plugin I'm currently using:

    Contact Form 7
    Disqus Comment System
    EWWW Image Optimizer
    Global Content Blocks
    P3 (Plugin Performance Profiler)
    Revolution Slider
    Social Sharing Toolkit
    WordPress SEO
    WP Post Styling
    WP User Avatar

    Here is the scan profile related to the screenshot:

    {"url":"\/","ip":"2.39.196.58","pid":8235,"date":"2013-09-02T12:03:02+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.94427490234375,"wordpress":0.082888126373291,"theme":0.11548924446106,"plugins":0.19902300834656,"profile":0.53246521949768,"breakdown":{"p3-profiler":0.010526418685913,"contact-form-7":0.046303987503052,"disqus-comment-system":0.013978958129883,"ewww-image-optimizer":0.0050981044769287,"global-content-blocks":0.0032434463500977,"revslider":0.012239694595337,"social-sharing-toolkit":0.034770250320435,"wordpress-seo":0.024267196655273,"wp-post-styling":0.003176212310791,"wp-user-avatar":0.0058104991912842,"":0.039608240127563}},"memory":28311552,"stacksize":8398,"queries":70}
    {"url":"\/?s=internet","ip":"2.39.196.58","pid":8358,"date":"2013-09-02T12:03:03+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":1.9791059494019,"wordpress":0.12522721290588,"theme":0.4262809753418,"plugins":0.35335159301758,"profile":1.0495471954346,"breakdown":{"p3-profiler":0.010301113128662,"contact-form-7":0.050401449203491,"disqus-comment-system":0.022589921951294,"ewww-image-optimizer":0.0051054954528809,"global-content-blocks":0.082229137420654,"revslider":0.012229442596436,"social-sharing-toolkit":0.043628931045532,"wordpress-seo":0.026340246200562,"wp-post-styling":0.0031704902648926,"wp-user-avatar":0.0058650970458984,"":0.091490268707275}},"memory":29622272,"stacksize":11851,"queries":196}
    {"url":"\/blog\/tags\/wordpress\/","ip":"2.39.196.58","pid":9289,"date":"2013-09-02T12:03:21+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.67094612121582,"wordpress":0.087063074111938,"theme":0.11922216415405,"plugins":0.16270542144775,"profile":0.29359602928162,"breakdown":{"p3-profiler":0.01042366027832,"contact-form-7":0.029439210891724,"disqus-comment-system":0.0095303058624268,"ewww-image-optimizer":0.0051300525665283,"global-content-blocks":0.0012421607971191,"revslider":0.012200355529785,"social-sharing-toolkit":0.033751010894775,"wordpress-seo":0.027423143386841,"wp-post-styling":0.0033295154571533,"wp-user-avatar":0.0058934688568115,"":0.02434253692627}},"memory":27525120,"stacksize":5658,"queries":56}
    {"url":"\/blog\/tags\/mission\/","ip":"2.39.196.58","pid":9383,"date":"2013-09-02T12:03:23+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.67433595657349,"wordpress":0.085623025894165,"theme":0.11100745201111,"plugins":0.16741490364075,"profile":0.30235457420349,"breakdown":{"p3-profiler":0.010431289672852,"contact-form-7":0.03171706199646,"disqus-comment-system":0.01049017906189,"ewww-image-optimizer":0.0058481693267822,"global-content-blocks":0.0014114379882812,"revslider":0.012487411499023,"social-sharing-toolkit":0.034183979034424,"wordpress-seo":0.027840614318848,"wp-post-styling":0.0032987594604492,"wp-user-avatar":0.0059971809387207,"":0.023708820343018}},"memory":27525120,"stacksize":5650,"queries":55}
    {"url":"\/blog\/tags\/archiviazione\/","ip":"2.39.196.58","pid":9431,"date":"2013-09-02T12:03:24+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.67678189277649,"wordpress":0.085316896438599,"theme":0.12235474586487,"plugins":0.16283202171326,"profile":0.29831337928772,"breakdown":{"p3-profiler":0.010367870330811,"contact-form-7":0.029314041137695,"disqus-comment-system":0.0095748901367188,"ewww-image-optimizer":0.0051357746124268,"global-content-blocks":0.0012805461883545,"revslider":0.012246370315552,"social-sharing-toolkit":0.035630702972412,"wordpress-seo":0.027388572692871,"wp-post-styling":0.0031497478485107,"wp-user-avatar":0.0058603286743164,"":0.022883176803589}},"memory":27525120,"stacksize":5650,"queries":55}
    {"url":"\/blog\/tags\/recensione\/","ip":"2.39.196.58","pid":9502,"date":"2013-09-02T12:03:26+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.62645602226257,"wordpress":0.080140352249146,"theme":0.071593523025513,"plugins":0.16766428947449,"profile":0.29852437973022,"breakdown":{"p3-profiler":0.011205434799194,"contact-form-7":0.030675888061523,"disqus-comment-system":0.0097858905792236,"ewww-image-optimizer":0.0051662921905518,"global-content-blocks":0.0012838840484619,"revslider":0.013487577438354,"social-sharing-toolkit":0.037747383117676,"wordpress-seo":0.028096199035645,"wp-post-styling":0.0041720867156982,"wp-user-avatar":0.0076673030853271,"":0.018376350402832}},"memory":27262976,"stacksize":5595,"queries":37}
    {"url":"\/blog\/categorie\/promozione-online\/social-marketing\/","ip":"2.39.196.58","pid":9562,"date":"2013-09-02T12:03:27+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.68584513664246,"wordpress":0.085125684738159,"theme":0.12716174125671,"plugins":0.16752338409424,"profile":0.29768872261047,"breakdown":{"p3-profiler":0.010484457015991,"contact-form-7":0.028651237487793,"disqus-comment-system":0.0099608898162842,"ewww-image-optimizer":0.0052762031555176,"global-content-blocks":0.0012528896331787,"revslider":0.012212038040161,"social-sharing-toolkit":0.033105611801147,"wordpress-seo":0.029771566390991,"wp-post-styling":0.0032637119293213,"wp-user-avatar":0.0059175491333008,"":0.027627229690552}},"memory":27525120,"stacksize":5678,"queries":58}
    {"url":"\/blog\/categorie\/promozione-online\/","ip":"2.39.196.58","pid":9606,"date":"2013-09-02T12:03:29+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.74309992790222,"wordpress":0.088491201400757,"theme":0.16758751869202,"plugins":0.16873168945312,"profile":0.30985927581787,"breakdown":{"p3-profiler":0.010488748550415,"contact-form-7":0.028909921646118,"disqus-comment-system":0.010158777236938,"ewww-image-optimizer":0.0051968097686768,"global-content-blocks":0.0012364387512207,"revslider":0.012169122695923,"social-sharing-toolkit":0.03386926651001,"wordpress-seo":0.028015851974487,"wp-post-styling":0.0031473636627197,"wp-user-avatar":0.0059468746185303,"":0.029592514038086}},"memory":27787264,"stacksize":5710,"queries":61}
    {"url":"\/blog\/categorie\/impresa-professione\/organizzazione\/","ip":"2.39.196.58","pid":9638,"date":"2013-09-02T12:03:30+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.74324989318848,"wordpress":0.0887451171875,"theme":0.12041711807251,"plugins":0.21663761138916,"profile":0.3091447353363,"breakdown":{"p3-profiler":0.010453224182129,"contact-form-7":0.036325454711914,"disqus-comment-system":0.0097529888153076,"ewww-image-optimizer":0.0051939487457275,"global-content-blocks":0.0012564659118652,"revslider":0.012281894683838,"social-sharing-toolkit":0.04136061668396,"wordpress-seo":0.03123664855957,"wp-post-styling":0.0039432048797607,"wp-user-avatar":0.0092058181762695,"":0.055627346038818}},"memory":27525120,"stacksize":5662,"queries":56}
    {"url":"\/blog\/categorie\/promozione-online\/motori-di-ricerca-seo\/","ip":"2.39.196.58","pid":9727,"date":"2013-09-02T12:03:31+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.62218189239502,"wordpress":0.080604791641235,"theme":0.081123113632202,"plugins":0.16250252723694,"profile":0.2908182144165,"breakdown":{"p3-profiler":0.010524272918701,"contact-form-7":0.029592990875244,"disqus-comment-system":0.010425329208374,"ewww-image-optimizer":0.0051438808441162,"global-content-blocks":0.0012776851654053,"revslider":0.012455940246582,"social-sharing-toolkit":0.035955667495728,"wordpress-seo":0.028984785079956,"wp-post-styling":0.0033361911773682,"wp-user-avatar":0.006289005279541,"":0.018516778945923}},"memory":27262976,"stacksize":5607,"queries":39}
    {"url":"\/blog\/php-convert-flat-array-to-nested\/","ip":"2.39.196.58","pid":9774,"date":"2013-09-02T12:03:33+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.85828995704651,"wordpress":0.086177349090576,"theme":0.10868144035339,"plugins":0.20096707344055,"profile":0.44962596893311,"breakdown":{"p3-profiler":0.011477708816528,"contact-form-7":0.028452157974243,"disqus-comment-system":0.014309406280518,"ewww-image-optimizer":0.0051620006561279,"global-content-blocks":0.0015726089477539,"revslider":0.013054847717285,"social-sharing-toolkit":0.059988260269165,"wordpress-seo":0.032519340515137,"wp-post-styling":0.0033261775970459,"wp-user-avatar":0.0076067447662354,"":0.023497819900513}},"memory":28311552,"stacksize":8750,"queries":59}
    {"url":"\/blog\/php-sort-multidimensional-array-by-value\/","ip":"2.39.196.58","pid":9870,"date":"2013-09-02T12:03:35+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.96562099456787,"wordpress":0.092594623565674,"theme":0.10935258865356,"plugins":0.21281027793884,"profile":0.53527569770813,"breakdown":{"p3-profiler":0.010510921478271,"contact-form-7":0.032721757888794,"disqus-comment-system":0.014878988265991,"ewww-image-optimizer":0.0051562786102295,"global-content-blocks":0.0013723373413086,"revslider":0.012213945388794,"social-sharing-toolkit":0.062531709671021,"wordpress-seo":0.033624410629272,"wp-post-styling":0.0033292770385742,"wp-user-avatar":0.0083012580871582,"":0.028169393539429}},"memory":28835840,"stacksize":10309,"queries":59}
    {"url":"\/blog\/open-graph-facebook-e-validazione-w3c\/","ip":"2.39.196.58","pid":9926,"date":"2013-09-02T12:03:37+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.98939609527588,"wordpress":0.092802286148071,"theme":0.12059473991394,"plugins":0.21433615684509,"profile":0.5460352897644,"breakdown":{"p3-profiler":0.010948181152344,"contact-form-7":0.028772830963135,"disqus-comment-system":0.014750480651855,"ewww-image-optimizer":0.0051584243774414,"global-content-blocks":0.0012459754943848,"revslider":0.012416124343872,"social-sharing-toolkit":0.065791845321655,"wordpress-seo":0.034680128097534,"wp-post-styling":0.0042736530303955,"wp-user-avatar":0.010881662368774,"":0.025416851043701}},"memory":28835840,"stacksize":10309,"queries":59}
    {"url":"\/blog\/tenere-in-ordine-i-documenti-pc\/","ip":"2.39.196.58","pid":10059,"date":"2013-09-02T12:03:40+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.71700191497803,"wordpress":0.089151620864868,"theme":0.11395454406738,"plugins":0.17600131034851,"profile":0.32886433601379,"breakdown":{"p3-profiler":0.010595560073853,"contact-form-7":0.028243064880371,"disqus-comment-system":0.011443376541138,"ewww-image-optimizer":0.0051403045654297,"global-content-blocks":0.0012481212615967,"revslider":0.012256145477295,"social-sharing-toolkit":0.040683507919312,"wordpress-seo":0.031362771987915,"wp-post-styling":0.0032579898834229,"wp-user-avatar":0.0088460445404053,"":0.022924423217773}},"memory":27787264,"stacksize":6384,"queries":59}
    {"url":"\/wp-admin\/","ip":"2.39.196.58","pid":10150,"date":"2013-09-02T12:03:42+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":1.5964021682739,"wordpress":0.36266565322876,"theme":0.01827073097229,"plugins":0.44230794906616,"profile":0.74453377723694,"breakdown":{"p3-profiler":0.013065814971924,"contact-form-7":0.045016527175903,"disqus-comment-system":0.011240720748901,"ewww-image-optimizer":0.23018598556519,"global-content-blocks":0.0015144348144531,"revslider":0.015583515167236,"social-sharing-toolkit":0.031365156173706,"wordpress-seo":0.025583267211914,"wp-post-styling":0.003389835357666,"wp-user-avatar":0.010120868682861,"":0.055241823196411}},"memory":34340864,"stacksize":6852,"queries":45}
    {"url":"\/wp-admin\/edit.php","ip":"2.39.196.58","pid":10254,"date":"2013-09-02T12:03:44+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":2.5566239356995,"wordpress":0.62846803665161,"theme":0.019752264022827,"plugins":0.56650042533875,"profile":1.2916343212128,"breakdown":{"p3-profiler":0.022674798965454,"contact-form-7":0.047202825546265,"disqus-comment-system":0.01146125793457,"ewww-image-optimizer":0.21734857559204,"global-content-blocks":0.0013563632965088,"revslider":0.013003587722778,"social-sharing-toolkit":0.028655052185059,"wordpress-seo":0.14096236228943,"wp-post-styling":0.0033674240112305,"wp-user-avatar":0.0099055767059326,"":0.070562601089478}},"memory":36438016,"stacksize":11501,"queries":111}
    {"url":"\/wp-admin\/plugins.php","ip":"2.39.196.58","pid":10400,"date":"2013-09-02T12:03:48+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":2.5113670825958,"wordpress":1.2016263008118,"theme":0.015357494354248,"plugins":0.45715498924255,"profile":0.80631875991821,"breakdown":{"p3-profiler":0.012511014938354,"contact-form-7":0.040592193603516,"disqus-comment-system":0.0091724395751953,"ewww-image-optimizer":0.22985315322876,"global-content-blocks":0.0016651153564453,"revslider":0.014247894287109,"social-sharing-toolkit":0.029608726501465,"wordpress-seo":0.028200387954712,"wp-post-styling":0.0039243698120117,"wp-user-avatar":0.055324792861938,"":0.032054901123047}},"memory":33816576,"stacksize":6823,"queries":27}
    {"url":"\/wp-admin\/admin-ajax.php","ip":"2.39.196.58","pid":10593,"date":"2013-09-02T12:03:51+00:00","theme_name":"\/web\/htdocs\/www.marcopanichi.com\/home\/wp-content\/themes\/fawola\/functions.php","runtime":{"total":0.5231659412384,"wordpress":0.15307593345642,"theme":0.015896320343018,"plugins":0.14461255073547,"profile":0.20417976379395,"breakdown":{"p3-profiler":0.015779256820679,"contact-form-7":0.030119895935059,"disqus-comment-system":0.0086562633514404,"ewww-image-optimizer":0.0067417621612549,"global-content-blocks":0.0012145042419434,"revslider":0.013015031814575,"social-sharing-toolkit":0.020263910293579,"wordpress-seo":0.0076806545257568,"wp-post-styling":0.0031542778015137,"wp-user-avatar":0.0072576999664307,"":0.030729293823242}},"memory":32505856,"stacksize":4248,"queries":20}

    http://wordpress.org/plugins/p3-profiler/

  2. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    Which browser are you using?

    Also, you screenshot returned 404.

  3. Marco Panichi
    Member
    Posted 10 months ago #

    Hi Kurt,

    Thank you for the quick response.

    Here is the right link to the image:
    http://www.marcopanichi.com/work/p3.png

    I was using Google Chrome, version: 29.0.1547.62 m

    In Firefox, version: 23.0.1, I get the same.

  4. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    Hi Marco,

    One of your plugins (or your theme) is loading a duplicate copy of jQuery UI in your admin.

    If you're not comfortable digging through code to find which one, the best way to find it is to turn off your plugins and revert your theme to twenty twelve (or twenty thirteen), then turn the plugins on one-by-one and lastly turn your theme back on and see which step causes P3 to break.

  5. Marco Panichi
    Member
    Posted 10 months ago #

    I'm doing the test you suggested.

    Meanwhile, here is a javascript error that I receive on P3 page:
    Uncaught SyntaxError: Unexpected token } -> http://www.marcopanichi.com/wp-admin/tools.php?page=p3-profiler

    PS: I feel comfortable digging through code: what you suggest about it?

  6. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    Hi Marco,

    Can you trace that back to the source?

    The JSON you posted is valid ... sort of. For P3, each line is its own encapsulated json object. If you paste the whole blob into jsonlint.com, it will fail. But if you take any individual line, it will pass.

  7. Marco Panichi
    Member
    Posted 10 months ago #

    I've never had to do with JSON. How can I "trace that back to the source"?

  8. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    Did you have any luck narrowing down the problem to a specific plugin or your theme?

  9. Marco Panichi
    Member
    Posted 10 months ago #

    I'm restyling my theme right now, I'll let you know in a couple of day

  10. Marco Panichi
    Member
    Posted 10 months ago #

    Hi Kurt,

    The problem was caused by my custom theme!

    How can I locate/solve the problem?

    The theme doesn't return any js error in lots of pages where I performed various check. It return just the error mentioned above in the P3 result page

  11. Marco Panichi
    Member
    Posted 10 months ago #

    PS: why don't you give the possibility to return plain text results also?

  12. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    To resolve the theme issue, please contact your theme provider and mention this thread.

    If you have created the theme yourself, you should use the built-in version of jQuery UI or ensure you're loading jQuery UI on the front-end only.

    For your question on plain text results, P3 does provide plain text results via the "Email these results" button.

  13. Marco Panichi
    Member
    Posted 10 months ago #

    Hi Kurt, I developed the theme myself.

    I've never tought that my theme could influence the backend. In fact I include my javascript using this paradigma:

    function my_scripts_method() {
        wp_enqueue_script( 'scriptaculous' );
    }
    
    add_action( 'wp_enqueue_scripts', 'my_scripts_method' ); // wp_enqueue_scripts action hook to link only on the front-end

    In each case, thank you very much for the assistance, now I konw where to search!

  14. Kurt Payne
    Member
    Plugin Contributor

    Posted 10 months ago #

    Hi Marco,

    Happy to help!

    If you make one tweak, you'd have it:

    if ( !is_admin() ) {
        add_action( 'wp_enqueue_scripts', 'my_scripts_method' );
    }

Reply

You must log in to post.

About this Plugin

About this Topic