OK, it was a trial. Trunk now set back to old compression function http://svn.pmapper.net/trac/changeset/1319
armin On 08/19/2013 03:19 PM, Chris forum wrote: > Same here, loading time back to 'normal' when compressJavaScriptFilePM is > used. > > > On Fri, Aug 16, 2013 at 7:18 PM, Armin Burger <armin.bur...@gmx.net> wrote: > >> I can at least confirm that the compression using JSMinPlus takes >> noticeably longer to load the js_session.php (and somehow subsequently >> js_config.php). Something like 215 ms compared to 12 ms on my desktop >> PC. This for sure depends on the server etc. So I guess it's better >> switching back to the simple hand-made compression method. >> >> It is worth to mention however that having Firebug enabled slows down >> the loading also noticeably... one of the the worst examples is with >> Openlayers and lots of tiles loaded in the background. >> >> armin >> >> On 08/16/2013 07:09 PM, Armin Burger wrote: >>> Chris >>> >>> I could only guess that this is related to the new way how the JS files >>> of the plugins are compressed, using "JSMinPlus". The check for custom >>> JS files under the config directories was there also before, now they >>> are just referenced in the phtml file at a different place. >>> >>> That huge difference looks strange to me though. >>> >>> Try the difference by replacing in incphp/js/js_session.php line 21 >>> >>> PMCommon::compressJavaScriptFile(... >>> with >>> PMCommon::compressJavaScriptFilePM(... >>> >>> the latter is using the old hand-made compression as it was before, the >>> first uses the JSMinPlus library for that. If with the old function it >>> works fast again I will change it back to this. >>> >>> Armin >>> >>> >>> >>> On 08/16/2013 01:40 PM, Chris forum wrote: >>>> Hi Armin, >>>> >>>> I have just installed pmapper from trunk r1318 to test your >>>> modifications on my project. >>>> I didn't try to add any plugin custom JS file yet. >>>> >>>> I don't know if it is the process to look for custom JS files or the new >>>> JS compression tool, but with that pmapper release my project takes more >>>> time to be loaded. Actually more than twice the time so I think it is >>>> worth pointing that to you. >>>> >>>> According to Firebug network tab: >>>> >>>> release 1314: 1.7 sec (Thomas' last changes) >>>> GET js_session.php?: 86ms >>>> GET js_config.php?: 31ms >>>> >>>> release 1318: 3.9 sec >>>> GET js_session.php?: 2.46s >>>> GET js_config.php?: 2.47s >>>> >>>> Is it the price to pay for having a check at custom JS files? >>>> If so, wasn't it possible to simply add references to such files in the >>>> main phtml file? >>>> >>>> Regards, >>>> Chris ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users