Plugin Developer Discussion

Discussion for FogBugz Plugin developers

FogBugz is very slow in loading plugins

FogBugz takes 30 seconds or even more to generate the first page after it loads a new build of my plugin. The CPU is 100% busy. Then, subsequent pages are generated quickly and everything runs smoothly.

I would like to understand what causes this: a problem in FogBugz installation? Something in my code?
It's a pain having to wait 30 seconds after each minimal change in the code...

In case it helps, the maintenance service is not running (I don't know why it stopped).

Ciao
Marco
Marco Botton Send private email
Thursday, September 17, 2009
 
 
Hm, it definitely shouldn't be that slow.  When I upload a new version of your plugin it only takes a few seconds.

How are you uploading your plugin?  If you download a plugin from the Plugin Gallery and install it the same way, does it take 30 seconds?

What other plugins do you have installed?  When a new plugin is uploaded we have to reload all the plugins, so you could try deleting all the other plugins.
David Fullerton Send private email
Thursday, September 17, 2009
 
 
I think I isolated the problem. When the plugin is built by our Linux build machine, it gets loaded in few seconds.

When built by Visual Studio on my computer, it takes a lot of time. The difference is that in this case the "static" folder contains files and folders produced by Flex Builder, not needed to build the plugin.

If I remove these files and folders before building the plugin, then the upload goes at normal speed. I guess that FogBugz doesn't like that garbage...
Are subfolders allowed in the "static" folder?

Ciao
Marco
Marco Botton Send private email
Tuesday, September 22, 2009
 
 
Yes subfolders should be fine.  If the files are very large then this could be a problem, since FogBugz does some work to inspect them, then upload them and zip them.  You could try modifying your build script to either not copy the files, or delete them after they are copied.
David Fullerton Send private email
Tuesday, September 22, 2009
 
 
Thank you for the quick reply.
I changed the output directory of Flex Builder and added a pre-build step in Visual Studio to copy only the files I need. Everything runs fine now.

Ciao
Marco
Marco Botton Send private email
Tuesday, September 22, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz