Jump to content

slow php performance within iframe


ThunderAI

Recommended Posts

Hi!

I have a php document that runs very fast when not within an iframe, and slows down a little when it is placed within an iframe and then even slower when the iframe is placed within a table.

I have tried making the layout completly from CSS, but the iframe slows down within a DIV just as bad as it does within a TD tag.

Is there anyway to speed th eperformance of the iframe, or any common tips?
Link to comment
https://forums.phpfreaks.com/topic/30983-slow-php-performance-within-iframe/
Share on other sites

I'm having a hard time believing that the performance decrease is caused by the iframe and td tags, but I might be wrong.

Try to make a timer that will output the total execution time and echo it in the PHP script. Then run it in all those three ways a couple of times and take the average time and then you should be able to determine if there is any decrease caused by the tags (which I doubt there is).
i've done all the timer code, and the php script when run within an iframe inside of a table will run at a mimimum 1 second longer on localhost then when the script is not within an iframe or a table.  That 1 second balloons over the internet.

[quote author=Daniel0 link=topic=118982.msg486745#msg486745 date=1166381175]
I'm having a hard time believing that the performance decrease is caused by the iframe and td tags, but I might be wrong.

Try to make a timer that will output the total execution time and echo it in the PHP script. Then run it in all those three ways a couple of times and take the average time and then you should be able to determine if there is any decrease caused by the tags (which I doubt there is).
[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.