My favorites | Sign in
Project Logo
                
Show all Featured downloads:
mac-optimize.sh
Feeds:
People details
Project owners:
  joelbryan.juliano

WARNING: THIS IS INTENDED ONLY FOR EDUCATIONAL, SCIENTIFIC AND SOFTWARE RESEARCH PURPOSES. MAKE SURE YOU BACKUP YOUR FILES BEFORE RUNNING THE SCRIPT. WHEN DONE IN THE WHOLE OSX SYSTEM, IT'S LIKELY TO PRODUCE SOFTWARE INCOMPATIBILITIES.

SUMMARY:

In theory, small is good, everything small performs better. An atomic reaction provides more power than a chemical reaction, a nano material will produce an indestructible fabric. So do in software, small applications runs faster, with less consumed memory, and more instances possible. This method of optimization reduces the file size of metadata files through pre-formatting and trimming.

INTRODUCTION:

XML Optimization is a set of method that reformat the XML metadata for use with XML stream. The process is used in websites to minimize network bandwidth consumption and increase the memory space for the applications who store them locally. XML metadata is used throughout modern OS & Desktops today. (Mac OS X, GNOME/KDE). By Optimizing the XML metadata that those applications use, the application who parse them will require less memory usage, and less time parsing the document, thus improving speed and responsiveness of the applications that use those documents.

By XML Optimization, the metadata will be preformatted, by removing the whitespace between the tags, and compacting the whole XML content into a single line, without making any changes in the data inside the tags. The process will make the file much smaller, giving increased memory space, and increased ease for the xml parser to read it.

INSTRUCTIONS:

  1. Download xml-optimizer.sh script
  2. Edit and change the "$start_path" where it would search the XML files.
  3. Run the file by typing "sh ./xml-optimizer.sh"








Hosted by Google Code