After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 365439 - Optimize html generation
Optimize html generation
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Help
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-10-26 20:48 UTC by Nickolay V. Shmyrev
Modified: 2006-12-07 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.49 KB, patch)
2006-10-26 20:50 UTC, Nickolay V. Shmyrev
none Details | Review

Description Nickolay V. Shmyrev 2006-10-26 20:48:30 UTC
Hello all.

While looking on high memory usage of xslt transformations I've noticed
the following strange thing. We profile document two times during build
- first we profile to build document for validation in xml subdir,
second when we build html we also do profiling since we import
profile-chunk.xsl.

So I suggest the following patch that will save few megabytes of memory
on html build.
Comment 1 Nickolay V. Shmyrev 2006-10-26 20:50:50 UTC
Created attachment 75473 [details] [review]
Patch
Comment 2 Sven Neumann 2006-10-27 08:54:27 UTC
Perhaps you should rather do it the other way around. If it is possible to do the profiling when the html is built, then it would probably make sense to skip the extra profiling that we are currently doing beforehand.
Comment 3 Róman Joost 2006-10-29 08:50:11 UTC
Well, we might want to use the profiled XML for converting to other Formats. I already have a patch to create ODF files. That would allow us to create PDFs for languages, where the LaTeX way doesn't work (e.g. chinse, korean).
Comment 4 Róman Joost 2006-12-07 12:43:44 UTC
Closing it as FIXED.

2006-12-07  Roman Joost  <romanofski@gimp.org>

  * Makefile.am: applied patch of bug #365439

  * AUTHORS: added Nickolay