bhakti Posted December 22, 2010 Share Posted December 22, 2010 I am writing an OO PHP app to parse thousands of frames from a film, which will then each be manipulated and spat out using GD library funcs. Speed is of the essence. To improve speed, I have considered: - Another language!? - Use of PHP Command Line Interface? ( Working with web browser is surely a slow affair?) If PHP was a standard R6 Yamaha available to Joe Public, what would I have to do to win a GP race - you know - change gearing, alter timing, change exhaust system, rip out the air filter What does the panel suggest? Thanks B Quote Link to comment Share on other sites More sharing options...
Chris92 Posted December 22, 2010 Share Posted December 22, 2010 ffmpeg? Quote Link to comment Share on other sites More sharing options...
bhakti Posted December 23, 2010 Author Share Posted December 23, 2010 That's opened up some reading for me. I use Sony Vegas to break film up into image sequences and then to stick em together again after manipulation using GD Lib in PHP. Is there documentation anywhere on how to optimize performance of PHP scripts. I guess PHP CLI is one improvement, a faster CPU another. When writing code I am now asking myself, "Well this is neet and tidy but is it fast!?". I guess bench testing with microtime() can tell me through trial and error which is best way to go, but like everybody else, Im painfully aware of inventing yet another wheel Rgds B Quote Link to comment Share on other sites More sharing options...
bhakti Posted December 28, 2010 Author Share Posted December 28, 2010 Should anyone be interested in optimization of PHP and perhaps more importantly the speed bottlenecks created by typically server technologies that surround PHP, then you might be interested in this: http://phplens.com/lens/php-book/optimizing-debugging-php.php Rgds B 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.