Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#45 - The debug console shows invalid XML tree sizes

Attached to Project: Open Power Template
Opened by Zyx (Zyx) - Sunday, 18 January 2009, 06:21 GMT-7
Last edited by Zyx (Zyx) - Saturday, 04 April 2009, 00:52 GMT-7
Task Type Bug Report
Category Compiler
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Low
Reported Version 2.0 SVN
Due in Version 2.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The debug console shows the estimated XML tree sizes at the level of several megabytes, whereas the actual size for smaller templates is approx. 60-100 KB - this may confuse the users. Perhaps the places to make the measures are invalid and we must find some other ones.
This task depends upon

Closed by  Zyx (Zyx)
Saturday, 04 April 2009, 00:52 GMT-7
Reason for closing:  Won't fix
Additional comments about closing:  I think the current implementation is the best I can do and this is not so important, so we can simply add a comment to the user manual.
Comment by Zyx (Zyx) - Wednesday, 21 January 2009, 08:56 GMT-7
This bug was partially fixed in revision 46 - I noticed that the script counted the whole memory occupied by the script, not the tree part only.

However, currently the results can be also confusing. A sample output from compiling 3 templates:

1 test_a.tpl 493,760 b
2 test_b.tpl 34,224 b
3 test_b.tpl 23,088 b

This requires a deeper investigation.

Loading...