ThunderAI Posted December 17, 2006 Share Posted December 17, 2006 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? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 17, 2006 Share Posted December 17, 2006 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 Link to comment Share on other sites More sharing options...
ThunderAI Posted December 17, 2006 Author Share Posted December 17, 2006 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] Quote Link to comment Share on other sites More sharing options...
fenway Posted December 18, 2006 Share Posted December 18, 2006 I'm not sure how to respond... obviously, there's another page load involved. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 Really odd... I think I'll do some testing later today when I come home from school. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 Just tested it. I don't see any difference. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.