project-files dynamic loading takes more time than expected
Status: Beta
Brought to you by:
worden
Hi Lee,
I am still curious, why we have some noticeable backlogs for dynamic loading. As an experiment, I can propose to do the following and compare
1) <project-file filename="output.Rout.png" make=no/>
and
2) <source-file filename="output.Rout.png"/>
Then you would notice that the second option works much faster. Honestly, I would like to have the same for the first option.
(of course, it is possible to do some work-around and, for example, to use always the second variant instead of the first)
Anonymous
I think it is better to provide an example.
Then take a look: http://lalashan.mcmaster.ca/theobio/akhmetzhanov/index.php/TumorDynamics14 and edit the page, which is currently with only "silent" source-files: replace all "source-files" with "project-files" in the external editor and compare. I can notice the difference in loading times. (but maybe I can be too suspicious, sorry in advance for that)
Unfortunately the load times seem similar from my machine.
I don't think there is any real difference in how they're handled,
except that it runs make for project-file tags. So if make is doing
some work, that will take longer. But make shouldn't be doing anything
nontrivial for these files once they're up to date.
probably, I am suspicious, ekh..
Andrei, I'm sorry to say that this use of <source-file filename="output-filename.png"> has apparently been working because of
a bug in my code, and the bug has been fixed now. The source file tag
is not intended to display files that aren't source files.</source-file>
I've changed the tags for you in
http://lalashan.mcmaster.ca/theobio/akhmetzhanov/index.php/TumorDynamics14
as a courtesy - I hope that's helpful. If not you can revert my change
at
http://lalashan.mcmaster.ca/theobio/akhmetzhanov/index.php?title=TumorDynamics14&action=history.
I know you must have other pages to change over. If this is a bad time
for that, please let me know - I can provide a temporary workaround if
needed.
lw
:)) it is a pity, because I've used it quite much! Ok, thanks, Lee! no problem
For me, <source-file filename="output-filename.png"> was a good way to avoid writing make=no, so it cost 7 additional letters</source-file>
:)
Thank you for being understanding!
lw
On 11/12/2014 09:53 AM, Andrei Akhmetzhanov wrote:
Related
Bugs: #636